Merge pull request #2713 from epage/warn

fix(derive): Don't produce warnings
This commit is contained in:
Pavan Kumar Sunkara 2021-08-18 09:50:13 +01:00 committed by GitHub
commit a4137d639a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,7 @@ fn gen_from_arg_matches_for_enum(name: &Ident, attrs: &[Attribute], e: &DataEnum
let update_from_arg_matches = gen_update_from_arg_matches(name, &e.variants, &attrs);
quote! {
#[allow(dead_code, unreachable_code, unused_variables)]
#[allow(dead_code, unreachable_code, unused_variables, unused_braces)]
#[allow(
clippy::style,
clippy::complexity,