diff options
Diffstat (limited to 'vendor/clap_derive/src/derives')
-rw-r--r-- | vendor/clap_derive/src/derives/args.rs | 2 | ||||
-rw-r--r-- | vendor/clap_derive/src/derives/into_app.rs | 2 | ||||
-rw-r--r-- | vendor/clap_derive/src/derives/parser.rs | 1 | ||||
-rw-r--r-- | vendor/clap_derive/src/derives/subcommand.rs | 2 | ||||
-rw-r--r-- | vendor/clap_derive/src/derives/value_enum.rs | 1 |
5 files changed, 8 insertions, 0 deletions
diff --git a/vendor/clap_derive/src/derives/args.rs b/vendor/clap_derive/src/derives/args.rs index 20164ff2e..279f6ca0d 100644 --- a/vendor/clap_derive/src/derives/args.rs +++ b/vendor/clap_derive/src/derives/args.rs @@ -104,6 +104,7 @@ pub fn gen_for_struct( clippy::cargo, clippy::suspicious_else_formatting, clippy::almost_swapped, + clippy::redundant_locals, )] #[automatically_derived] impl #impl_generics clap::FromArgMatches for #item_name #ty_generics #where_clause { @@ -146,6 +147,7 @@ pub fn gen_for_struct( clippy::cargo, clippy::suspicious_else_formatting, clippy::almost_swapped, + clippy::redundant_locals, )] #[automatically_derived] impl #impl_generics clap::Args for #item_name #ty_generics #where_clause { diff --git a/vendor/clap_derive/src/derives/into_app.rs b/vendor/clap_derive/src/derives/into_app.rs index 0bd636245..5abf4ea6d 100644 --- a/vendor/clap_derive/src/derives/into_app.rs +++ b/vendor/clap_derive/src/derives/into_app.rs @@ -47,6 +47,7 @@ pub fn gen_for_struct( clippy::cargo, clippy::suspicious_else_formatting, clippy::almost_swapped, + clippy::redundant_locals, )] #[automatically_derived] impl #impl_generics clap::CommandFactory for #item_name #ty_generics #where_clause { @@ -94,6 +95,7 @@ pub fn gen_for_enum( clippy::cargo, clippy::suspicious_else_formatting, clippy::almost_swapped, + clippy::redundant_locals, )] #[automatically_derived] impl #impl_generics clap::CommandFactory for #item_name #ty_generics #where_clause { diff --git a/vendor/clap_derive/src/derives/parser.rs b/vendor/clap_derive/src/derives/parser.rs index 272948b63..e511bda05 100644 --- a/vendor/clap_derive/src/derives/parser.rs +++ b/vendor/clap_derive/src/derives/parser.rs @@ -89,6 +89,7 @@ fn gen_for_struct( #[automatically_derived] #[allow( unused_qualifications, + clippy::redundant_locals, )] impl #impl_generics clap::Parser for #item_name #ty_generics #where_clause {} diff --git a/vendor/clap_derive/src/derives/subcommand.rs b/vendor/clap_derive/src/derives/subcommand.rs index 125a40f61..da438d328 100644 --- a/vendor/clap_derive/src/derives/subcommand.rs +++ b/vendor/clap_derive/src/derives/subcommand.rs @@ -84,6 +84,7 @@ pub fn gen_for_enum( clippy::cargo, clippy::suspicious_else_formatting, clippy::almost_swapped, + clippy::redundant_locals, )] #[automatically_derived] impl #impl_generics clap::FromArgMatches for #item_name #ty_generics #where_clause { @@ -117,6 +118,7 @@ pub fn gen_for_enum( clippy::cargo, clippy::suspicious_else_formatting, clippy::almost_swapped, + clippy::redundant_locals, )] #[automatically_derived] impl #impl_generics clap::Subcommand for #item_name #ty_generics #where_clause { diff --git a/vendor/clap_derive/src/derives/value_enum.rs b/vendor/clap_derive/src/derives/value_enum.rs index 397eb3323..c0e043481 100644 --- a/vendor/clap_derive/src/derives/value_enum.rs +++ b/vendor/clap_derive/src/derives/value_enum.rs @@ -69,6 +69,7 @@ pub fn gen_for_enum( clippy::cargo, clippy::suspicious_else_formatting, clippy::almost_swapped, + clippy::redundant_locals, )] #[automatically_derived] impl clap::ValueEnum for #item_name { |