mirror of
https://github.com/clap-rs/clap
synced 2025-01-07 10:18:48 +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);
|
let update_from_arg_matches = gen_update_from_arg_matches(name, &e.variants, &attrs);
|
||||||
|
|
||||||
quote! {
|
quote! {
|
||||||
#[allow(dead_code, unreachable_code, unused_variables)]
|
#[allow(dead_code, unreachable_code, unused_variables, unused_braces)]
|
||||||
#[allow(
|
#[allow(
|
||||||
clippy::style,
|
clippy::style,
|
||||||
clippy::complexity,
|
clippy::complexity,
|
||||||
|
|
Loading…
Reference in a new issue