Allow only unused_extern_crates instead of the whole rust_2018_idioms lint group in serde_derive-generated code

This commit is contained in:
hyd-dev committed 2021-05-12 18:29:45 +08:00
1 parent 6366f17da7
commit dd29825217
12 files changed
+23 -23

No files matched your search

@@ -3,7 +3,7 @@ pub struct GenericTupleStruct<T, U>(T, U);
#[doc(hidden)]
#[allow(non_upper_case_globals, unused_attributes, unused_qualifications)]
const _: () = {
#[allow(rust_2018_idioms, clippy::useless_attribute)]
#[allow(unused_extern_crates, clippy::useless_attribute)]
extern crate serde as _serde;
#[automatically_derived]
impl<'de, T, U> _serde::Deserialize<'de> for GenericTupleStruct<T, U>