mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
Merge pull request #2713 from epage/warn
fix(derive): Don't produce warnings
This commit is contained in:
commit
a4137d639a
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue