@@ -5,7 +5,7 @@ pub struct GenericStruct<T> {
55#[ doc( hidden) ]
66#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
77const _: ( ) = {
8- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
8+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
99 extern crate serde as _serde;
1010 #[ automatically_derived]
1111 impl < T > _serde:: Serialize for GenericStruct < T >
@@ -42,7 +42,7 @@ const _: () = {
4242#[ doc( hidden) ]
4343#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
4444const _: ( ) = {
45- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
45+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
4646 extern crate serde as _serde;
4747 #[ automatically_derived]
4848 impl < ' de , T > _serde:: Deserialize < ' de > for GenericStruct < T >
@@ -410,7 +410,7 @@ pub struct GenericNewTypeStruct<T>(T);
410410#[ doc( hidden) ]
411411#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
412412const _: ( ) = {
413- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
413+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
414414 extern crate serde as _serde;
415415 #[ automatically_derived]
416416 impl < T > _serde:: Serialize for GenericNewTypeStruct < T >
@@ -435,7 +435,7 @@ const _: () = {
435435#[ doc( hidden) ]
436436#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
437437const _: ( ) = {
438- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
438+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
439439 extern crate serde as _serde;
440440 #[ automatically_derived]
441441 impl < ' de , T > _serde:: Deserialize < ' de > for GenericNewTypeStruct < T >
0 commit comments