Skip to content

Commit

Permalink
Merge pull request #2713 from epage/warn
Browse files Browse the repository at this point in the history
fix(derive): Don't produce warnings
  • Loading branch information
pksunkara committed Aug 18, 2021
2 parents 0394ae6 + 502dd78 commit a4137d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clap_derive/src/derives/subcommand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a4137d6

Please sign in to comment.