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 #97730

Merged
merged 126 commits into from
Jun 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
cb29e3e
add doc_link_with_quotes lint
cameron1024 Feb 1, 2022
ee8fae3
identity_op: add parenthesis to suggestions where required
Alexendoo May 4, 2022
5ad1b35
Update clippy to new rake_read signature
eholk May 10, 2022
569505c
Auto-detect preferred colorscheme
Serial-ATA May 19, 2022
8d04a32
Auto merge of #96923 - eholk:fix-fake-read, r=nikomatsakis
bors May 21, 2022
4587b66
Merge 'rust-clippy/master' into clippyup
xFrednet May 21, 2022
fc965c7
Fix lint registration
xFrednet May 21, 2022
91644d1
Auto merge of #8848 - Serial-ATA:auto-detect-theme, r=xFrednet
bors May 21, 2022
cbe6607
Remove feature: `crate` visibility modifier
jhpratt May 21, 2022
8558490
get_last_with_len: lint VecDeque and any deref to slice
Alexendoo May 20, 2022
a319937
Merge crate and restricted visibilities
jhpratt May 21, 2022
e885157
factor out the rvalue lifetime rule
dingxiangfei2009 Apr 1, 2022
5cf07c6
Set correct `ParamEnv` for `derive_partial_eq_without_eq`
Jarcho May 22, 2022
0fd03a8
Strip `clippy::` prefix from search strings
Serial-ATA May 22, 2022
8ec9e5e
Fix clippy explicit_write lint for new writeln implementation
dtolnay May 23, 2022
77d2b10
Rollup merge of #97254 - jhpratt:remove-crate-vis, r=cjgillot
Dylan-DPC May 23, 2022
9b55ea7
update dependencies
hellow554 May 23, 2022
a342f52
cast_abs_to_unsigned: do not remove cast if it's required
Alexendoo May 23, 2022
0ad3a0a
Lifetime variance fixes for clippy
compiler-errors May 23, 2022
3642e33
Auto merge of #8870 - Serial-ATA:issue-8865, r=xFrednet
bors May 23, 2022
0684d62
Refactor call terminator to always hold a destination place
JakobDegen Apr 16, 2022
1f3116f
Rollup merge of #97289 - compiler-errors:tcxify-clippy, r=Mark-Simula…
JohnTitor May 24, 2022
050cdd6
Auto merge of #8872 - hellow554:dependency_update, r=llogiq
bors May 24, 2022
286b717
Auto merge of #96098 - JakobDegen:always-return-place, r=oli-obk
bors May 24, 2022
ea62347
New lint `no_effect_replace`
guerinoni Apr 25, 2022
22673bc
add testcase for #8878
hellow554 May 24, 2022
04297de
prepare test for 8734
hellow554 May 24, 2022
21d9493
Fix imports for "Checking if a type defines a specific method"
May 24, 2022
78f7e37
Fix `manual_range_contains` with equal precedence
May 24, 2022
fbb9e56
Auto merge of #8754 - guerinoni:no_effect_replace, r=llogiq
bors May 24, 2022
6269ab1
Auto merge of #8881 - dmarcoux:update-outdated-doc, r=llogiq
bors May 24, 2022
257f097
Fix issue with mismatched parens in suggestion
May 24, 2022
c41c410
Auto merge of #8786 - Alexendoo:identity-op-suggestions, r=dswij,xFre…
bors May 24, 2022
67a0891
Auto merge of #8880 - hellow554:rustfix_update, r=Manishearth
bors May 24, 2022
b97784f
Auto merge of #8862 - Alexendoo:get-last-with-len, r=Jarcho,xFrednet
bors May 24, 2022
1dd0266
feat(lint): impl lint about use first() instead of get(0)
kyoto7250 May 24, 2022
b531eb1
suggest first() instead of get(0)
kyoto7250 May 24, 2022
e47c5b0
ignore clippy::get_first
kyoto7250 May 24, 2022
d0f93c1
refactor: get the required variables with MethodCall
kyoto7250 May 25, 2022
3cc50a4
Auto merge of #8882 - kyoto7250:get_first, r=llogiq
bors May 25, 2022
d8a281e
Added an unused_rounding lint
botahamec May 21, 2022
4de301e
Fixed the test to not use an epsilon
botahamec May 22, 2022
f489954
Changed the lint description
botahamec May 22, 2022
2f25078
try to cache region_scope_tree as a query
dingxiangfei2009 May 25, 2022
45be175
Collect renamed lints
Serial-ATA May 19, 2022
1c573c7
Remove newlines in [`match_str_case_mismatch`] example
Serial-ATA May 25, 2022
45785fe
Auto merge of #8889 - Serial-ATA:remove-newlines, r=xFrednet
bors May 25, 2022
9ee211a
Fix `empty_line_after_outer_attribute` false positive
smoelius May 25, 2022
bc4d39e
Auto merge of #8866 - botahamec:unused-rounding, r=llogiq
bors May 26, 2022
17f7047
Only return DefIds to Fn-like definitions in clippy_utils::fn_def_id
Alexendoo May 26, 2022
ea06a41
fix
tamaroning May 26, 2022
6553b98
Auto merge of #8896 - Alexendoo:fn_sig_ice, r=llogiq
bors May 26, 2022
fc28f6a
Support `Weak` in [`rc_clone_in_vec_init`]
Serial-ATA May 25, 2022
a5ece81
Auto merge of #8885 - Serial-ATA:rc-clone-in-vec-init-weak, r=llogiq
bors May 27, 2022
e33d87d
When setting suggestion, add suggestion for MoveAndClone for non-ref
PrestonFrom May 24, 2022
911eb1f
Check `.fixed` paths' existence in `run_ui`
smoelius May 19, 2022
c91a7f0
Address review comments
smoelius May 24, 2022
8f49e41
Fix `assert!` message
smoelius May 25, 2022
461a661
Auto merge of #8897 - tamaroning:improve_dbg, r=Alexendoo
bors May 27, 2022
1dd5547
Auto merge of #8892 - smoelius:fix-empty-line-false-positive, r=Manis…
bors May 27, 2022
6027255
Ignore `crashes` dir
smoelius May 27, 2022
4fc0ee6
[1/N] Implement Arithmetic lint
c410-f3r May 27, 2022
19f94d5
remove `large_enum_variant` suggestion for `Copy` types
llogiq May 27, 2022
c9be57d
Merge branch 'master' into doc_link_with_quotes
llogiq May 28, 2022
5920fa3
Auto merge of #8844 - smoelius:fixed-paths, r=Alexendoo
bors May 28, 2022
cfd0f55
Make docs more consistent
Serial-ATA May 28, 2022
adafb6c
Update lint creation docs
Serial-ATA May 28, 2022
39231b4
Auto merge of #8385 - cameron1024:doc_link_with_quotes, r=llogiq
bors May 28, 2022
722f7d2
needless_late_init: fix ICE when all branches return the never type
Alexendoo May 29, 2022
c541015
needless_deref
lengyijun May 29, 2022
8430fa2
run-rustfix
lengyijun May 30, 2022
2aa4569
Triggered the lint on tuple struct and struct patterns
botahamec May 26, 2022
0a7f19b
Fix #8748
b-NC May 29, 2022
d9f4978
Auto merge of #8899 - botahamec:use-self-tuple-struct-variants, r=Ale…
bors May 30, 2022
4e45960
Add a pointer to address cast kind
tmiasko May 31, 2022
588e198
Auto merge of #8913 - InfRandomness:ICE-#8748, r=giraffate
bors May 31, 2022
e1607e9
Auto merge of #8912 - Alexendoo:needless-late-init-ice, r=giraffate
bors May 31, 2022
eb2908b
Add lint `almost_complete_letter_range`
Jarcho May 31, 2022
2466a05
Auto merge of #8918 - Jarcho:almost_complete_letter_range, r=llogiq
bors May 31, 2022
9c9cca3
Don't lint `useless_transmute` on types with erased regions
Jarcho Mar 18, 2022
0c6ebf1
Move `useless_transmute` back to `complexity`
Jarcho Mar 18, 2022
9add456
Auto merge of #8876 - Alexendoo:cast-abs-to-different-uint, r=dswij,x…
bors May 31, 2022
7000e75
Auto merge of #8564 - Jarcho:transmute_erase_regions, r=Alexendoo
bors May 31, 2022
5b1a4c0
Auto merge of #8884 - evantypanski:manual_range_contains_multiple, r=…
bors May 31, 2022
ca78e24
Add lint `swap_ptr_to_ref`
Jarcho May 30, 2022
f0bf200
Auto merge of #8916 - Jarcho:swap_ptr_to_ref, r=Manishearth
bors May 31, 2022
11d22ae
Lazify `SourceFile::lines`.
nnethercote May 30, 2022
202fdb9
split into borrow_deref_ref.rs and borrow_deref_ref_unfixable.rs
lengyijun Jun 1, 2022
c4c413b
Auto merge of #7930 - lengyijun:needless_deref_new, r=Jarcho
bors Jun 1, 2022
86092a7
rename PointerAddress → PointerExposeAddress
RalfJung Jun 1, 2022
7572b6b
Auto merge of #8869 - Jarcho:derive_partial_eq_without_eq, r=flip1995
bors Jun 1, 2022
b20f95c
Combine doc examples
Serial-ATA Jun 1, 2022
0d5ace3
Auto merge of #8908 - Serial-ATA:doc-comment-issues, r=xFrednet
bors Jun 2, 2022
bc5a8e9
Lint message correctly identifies match vs for loop
PrestonFrom Jun 2, 2022
756caf7
account for generics
llogiq May 31, 2022
9428e2e
Auto merge of #8905 - c410-f3r:arith, r=llogiq
bors Jun 2, 2022
b885035
`needless_return` checks for macro expr in return stmts
dswij Jun 2, 2022
678dcdd
Apply `needless_return` suggestions
dswij Jun 2, 2022
0600de4
add cast kind of from_exposed_addr (int-to-ptr casts)
RalfJung Jun 2, 2022
e32b66c
Auto merge of #8906 - rust-lang:copy-large-enum-variants, r=Jarcho
bors Jun 2, 2022
97e5449
Auto merge of #8902 - PrestonFrom:add_suggestion_for_move_and_clone_w…
bors Jun 2, 2022
2a18d12
Auto merge of #97575 - nnethercote:lazify-SourceFile-lines, r=Mark-Si…
bors Jun 2, 2022
1194c63
Auto merge of #8932 - dswij:pr-8879, r=giraffate
bors Jun 3, 2022
58cd01c
Add new lint mismatching_type_param_order
arieluy May 14, 2022
baacbfd
Rollup merge of #97653 - RalfJung:int-to-ptr, r=oli-obk
Dylan-DPC Jun 3, 2022
1e86cc5
Manipulate lifetimes by LocalDefId for region resolution.
cjgillot Apr 27, 2022
7c0d649
Auto merge of #8831 - arieluy:type_params, r=dswij
bors Jun 3, 2022
5730482
Rollup merge of #97415 - cjgillot:is-late-bound-solo, r=estebank
Dylan-DPC Jun 3, 2022
64fe4e3
add as_underscore lint
DevAccentor Jun 3, 2022
81e4450
Merge `CollapsibleMatch` into `Matches` lint pass
Jarcho Jun 3, 2022
ebd357e
Auto merge of #8934 - DevAccentor:as_underscore, r=Manishearth
bors Jun 3, 2022
b337f9e
Merge `ManualUnwrapOr` into `Matches` lint pass
Jarcho Jun 3, 2022
3d8d734
Move `MatchOnVecItems` into `Matches` lint pass
Jarcho Jun 3, 2022
8c8a52e
Move `MatchStrCaseMismatch` into `Matches` lint pass
Jarcho Jun 3, 2022
dbc7753
Merge `SignificantDropInScrutinee` into `Matches` lint pass
Jarcho Jun 3, 2022
67cb5ec
Move `TryErr` into `Matches` lint pass
Jarcho Jun 3, 2022
68c411f
Move `ManualMap` into `Matches` lint pass
Jarcho Jun 3, 2022
b1a3e7e
Auto merge of #8937 - Jarcho:merge_match_passes, r=llogiq
bors Jun 4, 2022
8ef4908
Auto merge of #8843 - Serial-ATA:collect-renamed, r=xFrednet
bors Jun 4, 2022
7f402b1
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 Jun 4, 2022
36b1892
Bump nightly version -> 2022-06-04
flip1995 Jun 4, 2022
d9ddce8
Auto merge of #8942 - flip1995:rustup, r=flip1995
bors Jun 4, 2022
d55c373
Merge commit 'd9ddce8a223cb9916389c039777b6966ea448dc8' into clippyup
flip1995 Jun 4, 2022
c22d4e6
Remove unnecessary clap_derive dependency added in 9ee211af
flip1995 Jun 4, 2022
586cbd0
Update Cargo.lock
flip1995 Jun 4, 2022
9525e0c
Add winnt feature to winapi in rustc-workspace-hack
flip1995 Jun 6, 2022
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
119 changes: 87 additions & 32 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ dependencies = [
"percent-encoding 2.1.0",
"pretty_env_logger",
"rustc-workspace-hack",
"rustfix 0.6.0",
"rustfix",
"semver",
"serde",
"serde_ignored",
Expand Down Expand Up @@ -637,7 +637,7 @@ dependencies = [
"futures 0.3.19",
"if_chain",
"itertools",
"parking_lot",
"parking_lot 0.12.1",
"quote",
"regex",
"rustc-semver",
Expand All @@ -657,7 +657,7 @@ name = "clippy_dev"
version = "0.0.1"
dependencies = [
"aho-corasick",
"clap 2.34.0",
"clap 3.1.1",
"indoc",
"itertools",
"opener",
Expand Down Expand Up @@ -766,7 +766,7 @@ dependencies = [
"libc",
"miow",
"regex",
"rustfix 0.6.0",
"rustfix",
"serde",
"serde_json",
"tracing",
Expand All @@ -778,9 +778,9 @@ dependencies = [

[[package]]
name = "compiletest_rs"
version = "0.7.1"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29843cb8d351febf86557681d049d1e1652b81a086a190fa1173c07fd17fbf83"
checksum = "262134ef87408da1ddfe45e33daa0ca43b75286d6b1076446e602d264cf9847e"
dependencies = [
"diff",
"filetime",
Expand All @@ -790,7 +790,7 @@ dependencies = [
"log",
"miow",
"regex",
"rustfix 0.5.1",
"rustfix",
"serde",
"serde_derive",
"serde_json",
Expand Down Expand Up @@ -2040,7 +2040,7 @@ dependencies = [
"jsonrpc-server-utils",
"log",
"parity-tokio-ipc",
"parking_lot",
"parking_lot 0.11.2",
"tower-service",
]

Expand All @@ -2054,7 +2054,7 @@ dependencies = [
"jsonrpc-core",
"lazy_static",
"log",
"parking_lot",
"parking_lot 0.11.2",
"rand 0.7.3",
"serde",
]
Expand Down Expand Up @@ -2202,10 +2202,11 @@ version = "0.1.0"

[[package]]
name = "lock_api"
version = "0.4.5"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109"
checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
dependencies = [
"autocfg",
"scopeguard",
]

Expand Down Expand Up @@ -2340,7 +2341,7 @@ checksum = "78f7a41bc6f856a2cf0e95094ad5121f82500e2d9a0f3c0171d98f6566d8117d"
dependencies = [
"log",
"memmap2",
"parking_lot",
"parking_lot 0.11.2",
"perf-event-open-sys",
"rustc-hash",
"smallvec",
Expand All @@ -2354,7 +2355,7 @@ checksum = "bd460fad6e55ca82fa0cd9dab0d315294188fd9ec6efbf4105e5635d4872ef9c"
dependencies = [
"log",
"memmap2",
"parking_lot",
"parking_lot 0.11.2",
"perf-event-open-sys",
"rustc-hash",
"smallvec",
Expand Down Expand Up @@ -2703,7 +2704,17 @@ checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
dependencies = [
"instant",
"lock_api",
"parking_lot_core",
"parking_lot_core 0.8.5",
]

[[package]]
name = "parking_lot"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
dependencies = [
"lock_api",
"parking_lot_core 0.9.3",
]

[[package]]
Expand All @@ -2720,6 +2731,19 @@ dependencies = [
"winapi",
]

[[package]]
name = "parking_lot_core"
version = "0.9.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929"
dependencies = [
"cfg-if 1.0.0",
"libc",
"redox_syscall",
"smallvec",
"windows-sys",
]

[[package]]
name = "pathdiff"
version = "0.2.1"
Expand Down Expand Up @@ -3731,7 +3755,7 @@ dependencies = [
"libc",
"measureme 10.0.0",
"memmap2",
"parking_lot",
"parking_lot 0.11.2",
"rustc-hash",
"rustc-rayon",
"rustc-rayon-core",
Expand Down Expand Up @@ -4315,7 +4339,7 @@ dependencies = [
name = "rustc_query_system"
version = "0.0.0"
dependencies = [
"parking_lot",
"parking_lot 0.11.2",
"rustc-rayon-core",
"rustc_arena",
"rustc_ast",
Expand Down Expand Up @@ -4618,21 +4642,9 @@ dependencies = [

[[package]]
name = "rustfix"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2c50b74badcddeb8f7652fa8323ce440b95286f8e4b64ebfd871c609672704e"
dependencies = [
"anyhow",
"log",
"serde",
"serde_json",
]

[[package]]
name = "rustfix"
version = "0.6.0"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f0be05fc0675ef4f47119dc39cfc46636bb77d4fc4ef1bd851b9c3f7697f32a"
checksum = "ecd2853d9e26988467753bd9912c3a126f642d05d229a4b53f5752ee36c56481"
dependencies = [
"anyhow",
"log",
Expand Down Expand Up @@ -5022,7 +5034,7 @@ checksum = "33994d0838dc2d152d17a62adf608a869b5e846b65b389af7f3dbc1de45c5b26"
dependencies = [
"lazy_static",
"new_debug_unreachable",
"parking_lot",
"parking_lot 0.11.2",
"phf_shared",
"precomputed-hash",
"serde",
Expand Down Expand Up @@ -5451,7 +5463,7 @@ dependencies = [
"ansi_term",
"lazy_static",
"matchers",
"parking_lot",
"parking_lot 0.11.2",
"regex",
"sharded-slab",
"smallvec",
Expand Down Expand Up @@ -5853,6 +5865,49 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"

[[package]]
name = "windows-sys"
version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
dependencies = [
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_msvc",
]

[[package]]
name = "windows_aarch64_msvc"
version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"

[[package]]
name = "windows_i686_gnu"
version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"

[[package]]
name = "windows_i686_msvc"
version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"

[[package]]
name = "windows_x86_64_gnu"
version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"

[[package]]
name = "windows_x86_64_msvc"
version = "0.36.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"

[[package]]
name = "xattr"
version = "0.2.2"
Expand Down
10 changes: 9 additions & 1 deletion src/tools/clippy/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3276,9 +3276,11 @@ Released 2018-09-13
<!-- begin autogenerated links to lint list -->
[`absurd_extreme_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#absurd_extreme_comparisons
[`allow_attributes_without_reason`]: https://rust-lang.github.io/rust-clippy/master/index.html#allow_attributes_without_reason
[`almost_complete_letter_range`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_complete_letter_range
[`almost_swapped`]: https://rust-lang.github.io/rust-clippy/master/index.html#almost_swapped
[`approx_constant`]: https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant
[`as_conversions`]: https://rust-lang.github.io/rust-clippy/master/index.html#as_conversions
[`as_underscore`]: https://rust-lang.github.io/rust-clippy/master/index.html#as_underscore
[`assertions_on_constants`]: https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants
[`assign_op_pattern`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
[`assign_ops`]: https://rust-lang.github.io/rust-clippy/master/index.html#assign_ops
Expand All @@ -3296,6 +3298,7 @@ Released 2018-09-13
[`bool_assert_comparison`]: https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
[`bool_comparison`]: https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
[`borrow_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_as_ptr
[`borrow_deref_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref
[`borrow_interior_mutable_const`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrow_interior_mutable_const
[`borrowed_box`]: https://rust-lang.github.io/rust-clippy/master/index.html#borrowed_box
[`box_collection`]: https://rust-lang.github.io/rust-clippy/master/index.html#box_collection
Expand Down Expand Up @@ -3362,6 +3365,7 @@ Released 2018-09-13
[`disallowed_type`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_type
[`disallowed_types`]: https://rust-lang.github.io/rust-clippy/master/index.html#disallowed_types
[`diverging_sub_expression`]: https://rust-lang.github.io/rust-clippy/master/index.html#diverging_sub_expression
[`doc_link_with_quotes`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_link_with_quotes
[`doc_markdown`]: https://rust-lang.github.io/rust-clippy/master/index.html#doc_markdown
[`double_comparisons`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_comparisons
[`double_must_use`]: https://rust-lang.github.io/rust-clippy/master/index.html#double_must_use
Expand Down Expand Up @@ -3435,6 +3439,7 @@ Released 2018-09-13
[`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
[`future_not_send`]: https://rust-lang.github.io/rust-clippy/master/index.html#future_not_send
[`get_first`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_first
[`get_last_with_len`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_last_with_len
[`get_unwrap`]: https://rust-lang.github.io/rust-clippy/master/index.html#get_unwrap
[`identity_conversion`]: https://rust-lang.github.io/rust-clippy/master/index.html#identity_conversion
Expand Down Expand Up @@ -3556,6 +3561,7 @@ Released 2018-09-13
[`min_max`]: https://rust-lang.github.io/rust-clippy/master/index.html#min_max
[`misaligned_transmute`]: https://rust-lang.github.io/rust-clippy/master/index.html#misaligned_transmute
[`mismatched_target_os`]: https://rust-lang.github.io/rust-clippy/master/index.html#mismatched_target_os
[`mismatching_type_param_order`]: https://rust-lang.github.io/rust-clippy/master/index.html#mismatching_type_param_order
[`misrefactored_assign_op`]: https://rust-lang.github.io/rust-clippy/master/index.html#misrefactored_assign_op
[`missing_const_for_fn`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_fn
[`missing_docs_in_private_items`]: https://rust-lang.github.io/rust-clippy/master/index.html#missing_docs_in_private_items
Expand Down Expand Up @@ -3613,6 +3619,7 @@ Released 2018-09-13
[`new_without_default`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
[`new_without_default_derive`]: https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default_derive
[`no_effect`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect
[`no_effect_replace`]: https://rust-lang.github.io/rust-clippy/master/index.html#no_effect_replace
[`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
Expand Down Expand Up @@ -3729,7 +3736,6 @@ Released 2018-09-13
[`skip_while_next`]: https://rust-lang.github.io/rust-clippy/master/index.html#skip_while_next
[`slow_vector_initialization`]: https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization
[`stable_sort_primitive`]: https://rust-lang.github.io/rust-clippy/master/index.html#stable_sort_primitive
[`significant_drop_in_scrutinee`]: https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_in_scrutinee
[`str_to_string`]: https://rust-lang.github.io/rust-clippy/master/index.html#str_to_string
[`string_add`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add
[`string_add_assign`]: https://rust-lang.github.io/rust-clippy/master/index.html#string_add_assign
Expand All @@ -3750,6 +3756,7 @@ Released 2018-09-13
[`suspicious_operation_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_operation_groupings
[`suspicious_splitn`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_splitn
[`suspicious_unary_op_formatting`]: https://rust-lang.github.io/rust-clippy/master/index.html#suspicious_unary_op_formatting
[`swap_ptr_to_ref`]: https://rust-lang.github.io/rust-clippy/master/index.html#swap_ptr_to_ref
[`tabs_in_doc_comments`]: https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
[`temporary_assignment`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_assignment
[`temporary_cstring_as_ptr`]: https://rust-lang.github.io/rust-clippy/master/index.html#temporary_cstring_as_ptr
Expand Down Expand Up @@ -3820,6 +3827,7 @@ Released 2018-09-13
[`unused_collect`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_collect
[`unused_io_amount`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
[`unused_label`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_label
[`unused_rounding`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_rounding
[`unused_self`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_self
[`unused_unit`]: https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
[`unusual_byte_groupings`]: https://rust-lang.github.io/rust-clippy/master/index.html#unusual_byte_groupings
Expand Down
4 changes: 2 additions & 2 deletions src/tools/clippy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ tempfile = { version = "3.2", optional = true }
termize = "0.1"

[dev-dependencies]
compiletest_rs = { version = "0.7.1", features = ["tmp"] }
compiletest_rs = { version = "0.8", features = ["tmp"] }
tester = "0.9"
regex = "1.5"
# This is used by the `collect-metadata` alias.
Expand All @@ -48,7 +48,7 @@ quote = "1.0"
serde = { version = "1.0.125", features = ["derive"] }
syn = { version = "1.0", features = ["full"] }
futures = "0.3"
parking_lot = "0.11.2"
parking_lot = "0.12"
tokio = { version = "1", features = ["io-util"] }
rustc-semver = "1.1"

Expand Down
2 changes: 1 addition & 1 deletion src/tools/clippy/clippy_dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
aho-corasick = "0.7"
clap = "2.33"
clap = "3.1"
indoc = "1.0"
itertools = "0.10.1"
opener = "0.5"
Expand Down
Loading