Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Clippy #90126

Merged
merged 138 commits into from
Oct 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
86811e9
make test module detection more strict
llogiq Oct 6, 2021
64f8b9d
Make `shadow_reuse` suggestion less verbose
dswij Oct 7, 2021
5cf4984
Merge commit 'b7f3f7f6082679da2da9a0b3faf1b5adef3afd3b' into clippyup
flip1995 Oct 7, 2021
a04a7cd
Auto merge of #7779 - rust-lang:test_module, r=flip1995
bors Oct 7, 2021
872f321
Auto merge of #7782 - dswij:shadow-unrelated-block, r=flip1995
bors Oct 7, 2021
fbd0fb9
Restriction lint for function pointer casts
michaelsproul Oct 7, 2021
8aff5dd
Auto merge of #7705 - michaelsproul:fn_to_numeric_cast_any, r=camsteffen
bors Oct 7, 2021
412b862
Add undocumented_unsafe_blocks lint
Serial-ATA Oct 2, 2021
78e7312
Auto merge of #7748 - Serial-ATA:lint-undocumented-unsafe, r=flip1995
bors Oct 8, 2021
28fb591
Do not expand macros in equatable_if_let suggestion
flip1995 Oct 8, 2021
b423b85
Don't trigger semicolon_if_nothing_returned in expanded code
flip1995 Oct 8, 2021
72078fa
Allow giving reasons for `disallowed_types`
JamesHinshelwood Oct 8, 2021
22144c0
Auto merge of #7789 - flip1995:double_semi_if_nothing_returned, r=cam…
bors Oct 8, 2021
da76c06
Add `--msrv` option to `new_lint` command
Oct 9, 2021
b878225
Fix `clippy::too-many-arguments` violation
Oct 9, 2021
7d9b21b
Use `indoc` for formatting
Oct 9, 2021
452181c
Implement uninit_vec lint
Qwaz Sep 17, 2021
b8ba726
Fix clippy lints
Qwaz Sep 17, 2021
759200b
Handle PR feedbacks first round
Qwaz Sep 17, 2021
fdc06d9
Improve error messages
Qwaz Sep 20, 2021
fec20bf
Add #allow attribute to suppress FP #7698
Qwaz Sep 21, 2021
dd9c8d3
Extract get_vec_init_kind and share it
Qwaz Oct 3, 2021
b1aa306
Address PR comments
Qwaz Oct 5, 2021
de0d2b1
Add testcases
Qwaz Oct 7, 2021
2181387
Improved error message for set_len() on empty Vec
Qwaz Oct 7, 2021
03fed75
Address internal lints
Qwaz Oct 9, 2021
7aaed02
Fix false positive when `Drop` and `Copy` involved
ThibsG Oct 9, 2021
8f1555f
Auto merge of #7794 - ThibsG:FieldReassignDefault6312, r=llogiq
bors Oct 9, 2021
1e18b8a
Fix FP in external macros for `mut_mut` lint
ThibsG Oct 9, 2021
fc32425
Refactor to check for multiple reference patterns
1nF0rmed Oct 9, 2021
1080f6c
Adds additional tests for lint
1nF0rmed Oct 10, 2021
9205e3d
Auto merge of #7800 - 1nF0rmed:no-lint-in-match-single-amp, r=llogiq
bors Oct 10, 2021
bc9ad84
Auto merge of #7795 - ThibsG:MutMut6922, r=giraffate
bors Oct 11, 2021
857a407
Add reason config example for disallowed_type
JamesHinshelwood Oct 11, 2021
886cbb1
Rename `disallowed` to `conf_disallowed`
JamesHinshelwood Oct 11, 2021
f44a904
Deprecate mem_discriminant_non_enum
flip1995 Oct 11, 2021
7272366
Auto merge of #7793 - mikerite:new_lint-msrv-2, r=Manishearth
bors Oct 11, 2021
44db271
Add #[must_use] to From::from and Into::into
jkugelman Oct 11, 2021
77dda9c
Auto merge of #7791 - JamesHinshelwood:reason-in-disallowed-type, r=g…
bors Oct 12, 2021
9e0ce14
Add match_str_case_mismatch lint
Serial-ATA Oct 12, 2021
99bfee7
Don't run examples
Serial-ATA Oct 12, 2021
5adf17c
Bring `manual_split_once` docs in line with other lint docs
Veykril Oct 12, 2021
1757386
Auto merge of #89770 - jkugelman:must-use-from-and-into, r=joshtriplett
bors Oct 12, 2021
0c99de0
Add a suggestion
Serial-ATA Oct 12, 2021
5c97b27
Auto merge of #7808 - Veykril:patch-1, r=xFrednet
bors Oct 12, 2021
d3905af
Auto merge of #7806 - Serial-ATA:lint-match-case-mismatch, r=llogiq
bors Oct 12, 2021
4ed3a4f
Update lint description for new() and default()
Qwaz Oct 12, 2021
3d9c4a6
Auto merge of #7682 - Qwaz:uninit_vec, r=xFrednet
bors Oct 12, 2021
049ab82
Update clippy ui output
oli-obk Oct 13, 2021
57dc034
Auto merge of #7788 - flip1995:eq_if_let_sugg, r=giraffate
bors Oct 13, 2021
5896980
Add lint transmute_num_to_bytes
aDotInTheVoid Oct 11, 2021
09aa4ad
Fix typo in example for `match_result_ok`
nhamovitz Oct 13, 2021
b9b11a9
Auto merge of #7805 - aDotInTheVoid:transmute-num-bits, r=camsteffen
bors Oct 13, 2021
4996e17
Auto merge of #7815 - nhamovitz:patch-1, r=giraffate
bors Oct 13, 2021
e664a76
Refactor overlapping arm tests
Oct 15, 2021
28a249b
Add unbounded pats to `match_overlapping_arm` tests
Oct 15, 2021
0a23fff
Fix clippy with changed macro statement spans
camsteffen Oct 14, 2021
ec50719
`unnecessary_sort_by` only warns if argument impl `Ord` trait
dswij Oct 15, 2021
e4ac4c2
Add test on `unnecessary_sort_by` when argument does not implement `Ord`
dswij Oct 15, 2021
70f36e0
Auto merge of #7824 - dswij:unnecessary_sort_by, r=llogiq
bors Oct 15, 2021
db403bb
Auto merge of #7823 - mikerite:match-overlapping-arm-20211015, r=xFre…
bors Oct 15, 2021
c9599d7
Add `format_in_format_args` and `to_string_in_format_args` lints
smoelius Sep 30, 2021
47014d8
Fix adjacent tests
smoelius Sep 30, 2021
75e9f8c
Remove redundant `to_string`s
smoelius Sep 30, 2021
e1871ba
Auto merge of #7743 - smoelius:master, r=camsteffen
bors Oct 15, 2021
25ff7ce
Fixed naive doc formatting for `#[must_use]` lints
zvavybir Oct 16, 2021
d50cfd2
Auto merge of #7827 - zvavybir:master, r=xFrednet
bors Oct 16, 2021
599d912
Some "parenthesis" and "parentheses" fixes
wooster0 Oct 17, 2021
a550133
Fix false positive of `implicit_saturating_sub` with `else` clause
narpfel Oct 17, 2021
79b73ac
Rollup merge of #89963 - r00ster91:parenthesisparentheses, r=nagisa
matthiaskrgr Oct 17, 2021
bdc1624
Add reference to another doc with explanation
Dmitry-Borodin Oct 17, 2021
5f2ecc3
rustc_span: `Ident::invalid` -> `Ident::empty`
petrochenkov Oct 17, 2021
af85240
Auto merge of #7832 - narpfel:implicit-saturating-sub-false-positive-…
bors Oct 18, 2021
e84537b
Rollup merge of #89990 - petrochenkov:idempty, r=wesleywiser
matthiaskrgr Oct 18, 2021
63d7152
Remove unneeded allow
Oct 18, 2021
389a74b
Auto merge of #7835 - mikerite:unneeded-allow-20211018, r=xFrednet
bors Oct 18, 2021
797507c
Add boilerplate and basic tests
nhamovitz Oct 15, 2021
c69387a
Well it builds
nhamovitz Oct 15, 2021
92d3b77
ayy it compiles! ship it, right? 😎 /s
nhamovitz Oct 15, 2021
7ee8e7a
Implement detecting trailing zero-sized array
nhamovitz Oct 15, 2021
523b013
Implement getting an array of attributes!
nhamovitz Oct 16, 2021
e53a4da
it works i think (incl some `dbg`s)
nhamovitz Oct 16, 2021
4b4db59
output looks fantastic
nhamovitz Oct 16, 2021
b9948c4
Ran `dev bless`!
nhamovitz Oct 16, 2021
003972f
add multiple `get_attrs` and `includes_repr` and they all work!
nhamovitz Oct 16, 2021
5fdf934
intermediate step
nhamovitz Oct 16, 2021
9b3f55e
tried to simplify but it doesn't work :/
nhamovitz Oct 17, 2021
a3420f7
Tidy comments + tests; revert 'size-is-zero' detection
nhamovitz Oct 17, 2021
c5d3167
update testsuite and expand `if_chain`
nhamovitz Oct 18, 2021
2a5a4f0
Refactor ZS array detection again and this one seems great 👍
nhamovitz Oct 18, 2021
9f402b3
Check for tuple structs
nhamovitz Oct 18, 2021
cd68622
Tidy imports
nhamovitz Oct 18, 2021
6377fb2
Tidy import + update expected stderr
nhamovitz Oct 18, 2021
149b372
run rustfmt
nhamovitz Oct 18, 2021
7f84e3d
Rename lint
nhamovitz Oct 18, 2021
a6aa986
Rename stderr
nhamovitz Oct 18, 2021
a54dbf6
Improve doc and span messages
nhamovitz Oct 18, 2021
5b78907
Still renaming lmao
nhamovitz Oct 18, 2021
d25b4ee
One more test
nhamovitz Oct 18, 2021
ab9fa25
Better testcase names
nhamovitz Oct 18, 2021
3a41f22
Exploring emitting other sorts of `span`s
nhamovitz Oct 18, 2021
d8bacf0
All five `has_repr_attr` agree + are correct
nhamovitz Oct 18, 2021
18c863d
Improve help message
nhamovitz Oct 18, 2021
48cf9c2
Don't need `rustc_attr` anymore
nhamovitz Oct 18, 2021
d85f903
!: this is the commit that demonstrates the ICE
nhamovitz Oct 19, 2021
6303d2d
Revert "!: this is the commit that demonstrates the ICE"
nhamovitz Oct 19, 2021
c654cc5
One more test + final tidying
nhamovitz Oct 19, 2021
bc32be0
Remove comment
nhamovitz Oct 19, 2021
02b1f26
Remove explicit lifetime
nhamovitz Oct 19, 2021
4c8e816
Use real type in doc examples
nhamovitz Oct 19, 2021
5283d24
formatting 🙃
nhamovitz Oct 19, 2021
687f392
Cover `Result` for `question_mark`
dswij Oct 19, 2021
3fc99b6
Update test for `question_mark` to cover `Result`
dswij Oct 19, 2021
ebf4f03
Remove begin_panic_fmt from clippy
nbdd0121 Oct 19, 2021
7246731
made description of intellij a link by moving outside of code block.
Dmitry-Borodin Oct 19, 2021
e88c956
avoid `eq_op` in test code
llogiq Oct 12, 2021
30cc96e
Rollup merge of #88860 - nbdd0121:panic, r=m-ou-se
JohnTitor Oct 19, 2021
c1e7a07
Auto merge of #7811 - rust-lang:eq-op-testless, r=xFrednet
bors Oct 19, 2021
60da4c9
remove resolved note
nhamovitz Oct 19, 2021
0f9f591
Rename lint
nhamovitz Oct 19, 2021
6b22bba
Lint on underscore variable assignment
F3real Oct 4, 2021
5bdd2ce
Auto merge of #7833 - Dmitry-Borodin:patch-1, r=giraffate
bors Oct 19, 2021
083a454
Small refactor on `question_mark` condition checks
dswij Oct 20, 2021
ee8c155
Auto merge of #7840 - dswij:question-mark-result, r=llogiq
bors Oct 20, 2021
06722c0
Auto merge of #7775 - F3real:no_effect, r=xFrednet
bors Oct 20, 2021
9cf68e4
Fix doc heading of TRANSMUTE_NUM_TO_BYTES
Veykril Oct 20, 2021
76150a4
Auto merge of #7848 - Veykril:patch-1, r=xFrednet
bors Oct 20, 2021
3630afb
Do not lint if any parent has hidden attribute
ThibsG Oct 14, 2021
f11905a
Auto merge of #7849 - ThibsG:SafetyDoc, r=llogiq
bors Oct 20, 2021
300b821
Auto merge of #7838 - nhamovitz:trailing_zs_arr_wo_repr, r=Manishearth
bors Oct 20, 2021
abb7ae9
Fix typo for INVALID_NULL_PTR_USAGE and MISSING_INLINE_IN_PUBLIC_ITEMS.
surechen Oct 21, 2021
535262c
Auto merge of #7852 - surechen:fix_typo, r=xFrednet
bors Oct 21, 2021
085181e
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 Oct 21, 2021
1222330
Bump Clippy Version -> 0.1.58
flip1995 Oct 21, 2021
8e48333
Bump nightly version -> 2021-10-21
flip1995 Oct 21, 2021
91496c2
Auto merge of #7853 - flip1995:rustup, r=flip1995
bors Oct 21, 2021
9af8e37
Merge commit '91496c2ac6abf6454c413bb23e8becf6b6dc20ea' into clippyup
flip1995 Oct 21, 2021
8d5f69d
Update Cargo.lock
flip1995 Oct 21, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ dependencies = [

[[package]]
name = "clippy"
version = "0.1.57"
version = "0.1.58"
dependencies = [
"cargo_metadata 0.12.0",
"clippy_lints",
Expand All @@ -582,6 +582,7 @@ version = "0.0.1"
dependencies = [
"bytecount",
"clap",
"indoc",
"itertools 0.10.1",
"opener",
"regex",
Expand All @@ -591,7 +592,7 @@ dependencies = [

[[package]]
name = "clippy_lints"
version = "0.1.57"
version = "0.1.58"
dependencies = [
"cargo_metadata 0.12.0",
"clippy_utils",
Expand All @@ -612,7 +613,7 @@ dependencies = [

[[package]]
name = "clippy_utils"
version = "0.1.57"
version = "0.1.58"
dependencies = [
"if_chain",
"rustc-semver",
Expand Down Expand Up @@ -1665,6 +1666,15 @@ dependencies = [
"serde",
]

[[package]]
name = "indoc"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136"
dependencies = [
"unindent",
]

[[package]]
name = "installer"
version = "0.0.0"
Expand Down Expand Up @@ -5593,6 +5603,12 @@ dependencies = [
"diff",
]

[[package]]
name = "unindent"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"

[[package]]
name = "unstable-book-gen"
version = "0.1.0"
Expand Down
9 changes: 9 additions & 0 deletions src/tools/clippy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2730,11 +2730,13 @@ Released 2018-09-13
[`fn_address_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_address_comparisons
[`fn_params_excessive_bools`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_params_excessive_bools
[`fn_to_numeric_cast`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast
[`fn_to_numeric_cast_any`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_any
[`fn_to_numeric_cast_with_truncation`]: https://rust-lang.github.io/rust-clippy/master/index.html#fn_to_numeric_cast_with_truncation
[`for_kv_map`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_kv_map
[`for_loops_over_fallibles`]: https://rust-lang.github.io/rust-clippy/master/index.html#for_loops_over_fallibles
[`forget_copy`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_copy
[`forget_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#forget_ref
[`format_in_format_args`]: https://rust-lang.github.io/rust-clippy/master/index.html#format_in_format_args
[`from_iter_instead_of_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_iter_instead_of_collect
[`from_over_into`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
[`from_str_radix_10`]: https://rust-lang.github.io/rust-clippy/master/index.html#from_str_radix_10
Expand Down Expand Up @@ -2836,6 +2838,7 @@ Released 2018-09-13
[`match_result_ok`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_result_ok
[`match_same_arms`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_same_arms
[`match_single_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_single_binding
[`match_str_case_mismatch`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_str_case_mismatch
[`match_wild_err_arm`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_wild_err_arm
[`match_wildcard_for_single_variants`]: https://rust-lang.github.io/rust-clippy/master/index.html#match_wildcard_for_single_variants
[`maybe_infinite_iter`]: https://rust-lang.github.io/rust-clippy/master/index.html#maybe_infinite_iter
Expand Down Expand Up @@ -2896,6 +2899,7 @@ Released 2018-09-13
[`new_ret_no_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self
[`new_without_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
[`no_effect`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect
[`no_effect_underscore_binding`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_underscore_binding
[`non_ascii_literal`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_ascii_literal
[`non_octal_unix_permissions`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_octal_unix_permissions
[`non_send_fields_in_send_ty`]: https://rust-lang.github.io/rust-clippy/master/index.html#non_send_fields_in_send_ty
Expand Down Expand Up @@ -3012,16 +3016,19 @@ Released 2018-09-13
[`temporary_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_assignment
[`to_digit_is_some`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_digit_is_some
[`to_string_in_display`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_display
[`to_string_in_format_args`]: https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
[`todo`]: https://rust-lang.github.io/rust-clippy/master/index.html#todo
[`too_many_arguments`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
[`too_many_lines`]: https://rust-lang.github.io/rust-clippy/master/index.html#too_many_lines
[`toplevel_ref_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg
[`trailing_empty_array`]: https://rust-lang.github.io/rust-clippy/master/index.html#trailing_empty_array
[`trait_duplication_in_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#trait_duplication_in_bounds
[`transmute_bytes_to_str`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_bytes_to_str
[`transmute_float_to_int`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_float_to_int
[`transmute_int_to_bool`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_bool
[`transmute_int_to_char`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_char
[`transmute_int_to_float`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_int_to_float
[`transmute_num_to_bytes`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_num_to_bytes
[`transmute_ptr_to_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ptr
[`transmute_ptr_to_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmute_ptr_to_ref
[`transmutes_expressible_as_ptr_casts`]: https://rust-lang.github.io/rust-clippy/master/index.html#transmutes_expressible_as_ptr_casts
Expand All @@ -3031,10 +3038,12 @@ Released 2018-09-13
[`try_err`]: https://rust-lang.github.io/rust-clippy/master/index.html#try_err
[`type_complexity`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
[`type_repetition_in_bounds`]: https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
[`undocumented_unsafe_blocks`]: https://rust-lang.github.io/rust-clippy/master/index.html#undocumented_unsafe_blocks
[`undropped_manually_drops`]: https://rust-lang.github.io/rust-clippy/master/index.html#undropped_manually_drops
[`unicode_not_nfc`]: https://rust-lang.github.io/rust-clippy/master/index.html#unicode_not_nfc
[`unimplemented`]: https://rust-lang.github.io/rust-clippy/master/index.html#unimplemented
[`uninit_assumed_init`]: https://rust-lang.github.io/rust-clippy/master/index.html#uninit_assumed_init
[`uninit_vec`]: https://rust-lang.github.io/rust-clippy/master/index.html#uninit_vec
[`unit_arg`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_arg
[`unit_cmp`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_cmp
[`unit_return_expecting_ord`]: https://rust-lang.github.io/rust-clippy/master/index.html#unit_return_expecting_ord
Expand Down
2 changes: 1 addition & 1 deletion src/tools/clippy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "clippy"
version = "0.1.57"
version = "0.1.58"
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
repository = "https://github.com/rust-lang/rust-clippy"
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions src/tools/clippy/clippy_dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ edition = "2021"
[dependencies]
bytecount = "0.6"
clap = "2.33"
indoc = "1.0"
itertools = "0.10"
opener = "0.5"
regex = "1.5"
Expand Down
6 changes: 6 additions & 0 deletions src/tools/clippy/clippy_dev/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ fn main() {
matches.value_of("pass"),
matches.value_of("name"),
matches.value_of("category"),
matches.is_present("msrv"),
) {
Ok(_) => update_lints::run(update_lints::UpdateMode::Change),
Err(e) => eprintln!("Unable to create lint: {}", e),
Expand Down Expand Up @@ -147,6 +148,11 @@ fn get_clap_config<'a>() -> ArgMatches<'a> {
"internal_warn",
])
.takes_value(true),
)
.arg(
Arg::with_name("msrv")
.long("msrv")
.help("Add MSRV config code to the lint"),
),
)
.subcommand(
Expand Down
Loading