@@ -5,7 +5,7 @@ pub struct GenericStruct<T> {
5
5
#[ doc( hidden) ]
6
6
#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
7
7
const _: ( ) = {
8
- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
8
+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
9
9
extern crate serde as _serde;
10
10
#[ automatically_derived]
11
11
impl < T > _serde:: Serialize for GenericStruct < T >
@@ -42,7 +42,7 @@ const _: () = {
42
42
#[ doc( hidden) ]
43
43
#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
44
44
const _: ( ) = {
45
- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
45
+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
46
46
extern crate serde as _serde;
47
47
#[ automatically_derived]
48
48
impl < ' de , T > _serde:: Deserialize < ' de > for GenericStruct < T >
@@ -410,7 +410,7 @@ pub struct GenericNewTypeStruct<T>(T);
410
410
#[ doc( hidden) ]
411
411
#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
412
412
const _: ( ) = {
413
- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
413
+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
414
414
extern crate serde as _serde;
415
415
#[ automatically_derived]
416
416
impl < T > _serde:: Serialize for GenericNewTypeStruct < T >
@@ -435,7 +435,7 @@ const _: () = {
435
435
#[ doc( hidden) ]
436
436
#[ allow( non_upper_case_globals, unused_attributes, unused_qualifications) ]
437
437
const _: ( ) = {
438
- #[ allow( rust_2018_idioms , clippy:: useless_attribute) ]
438
+ #[ allow( unused_extern_crates , clippy:: useless_attribute) ]
439
439
extern crate serde as _serde;
440
440
#[ automatically_derived]
441
441
impl < ' de , T > _serde:: Deserialize < ' de > for GenericNewTypeStruct < T >
0 commit comments