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

Merged
merged 107 commits into from
Aug 29, 2023
Merged
Changes from 1 commit
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
36a5000
rustc: Move `crate_types` from `Session` to `GlobalCtxt`
petrochenkov Aug 8, 2023
42186af
Correctly handle async blocks for NEEDLESS_PASS_BY_REF_MUT
GuillaumeGomez Aug 10, 2023
1d01f1b
Update UI test for async blocks for NEEDLESS_PASS_BY_REF_MUT
GuillaumeGomez Aug 10, 2023
1ec0501
Revert "New lint [`filter_map_bool_then`]"
Centri3 Aug 10, 2023
a1ab2d7
Auto merge of #114719 - compiler-errors:rollup-bf1vr51, r=compiler-er…
bors Aug 11, 2023
f730a26
Merge commit '1e8fdf492808a25d78a97e1242b835ace9924e4d' into clippyup
flip1995 Aug 11, 2023
4c779da
Remove some leftover cruft from compiletest-rs
oli-obk Aug 3, 2023
0afd38b
Make a panic message more informative if binary files are accidentall…
oli-obk Aug 7, 2023
3d88fae
Update ui test crate
oli-obk Jul 27, 2023
00919a4
Update ui test crate to auto-detect aux build crate kind
oli-obk Jul 27, 2023
1088507
Canonicalize paths in a single location
oli-obk Aug 7, 2023
43f04e1
Bump ui_test crate
oli-obk Aug 8, 2023
665a619
Bump ui_test
oli-obk Aug 10, 2023
739faf3
Auto merge of #11239 - oli-obk:ui_test, r=Alexendoo,flip1995
bors Aug 11, 2023
a7af8bc
Fix SPEEDTEST instructions
oli-obk Aug 11, 2023
cd8f12d
Show correct measurements in SPEEDTEST
oli-obk Aug 11, 2023
75370e0
Auto merge of #11325 - oli-obk:SPEEDTEST, r=flip1995
bors Aug 11, 2023
7a06d7e
[new_without_default]: lifetimes are included in output
samueltardieu Aug 1, 2023
621e76d
[new_without_default]: include `where` clauses in suggestion
samueltardieu Jul 31, 2023
f9b22e7
[new_without_default]: make the suggestion machine-applicable
samueltardieu Aug 1, 2023
d5dbee4
feat: update manual_retain to lint binary_heap_retain
unvalley Aug 12, 2023
3ac06a1
Do not bless by default in ui tests
Alexendoo Aug 13, 2023
1eff39d
fix: change msrv to 1.69 for binary heap
unvalley Aug 13, 2023
83afad4
Auto merge of #11333 - Alexendoo:uitest-default-check, r=flip1995
bors Aug 13, 2023
344ae11
Auto merge of #11329 - unvalley:lint-binary-heap-retain, r=Alexendoo
bors Aug 13, 2023
fc06189
[`iter_overeager_cloned`]: detect .cloned().filter() and .cloned().fi…
lengyijun Aug 3, 2023
b8b3e07
Remove constness from `ImplSource::Param`
fee1-dead Aug 13, 2023
7c87e5c
Use `{Local}ModDefId` in many queries
Noratrieb Apr 26, 2023
b5bfd11
Auto merge of #11289 - lengyijun:filter_find, r=blyxyas
bors Aug 14, 2023
34348f7
[`useless_conversion`]: make sure path points to fn-like item
y21 Jul 2, 2023
2820d98
[`useless_conversion`]: fix FP in macro and add test
y21 Jul 2, 2023
f47165c
find expansions more efficiently
y21 Jul 9, 2023
77d10ac
Use ui_test's Windows path backslash heuristic
Alexendoo Aug 14, 2023
89fdc3e
Move scrutinee `HirId` into `MatchSource::TryDesugar`
estebank Aug 14, 2023
d0a26f1
bless clippy test
estebank Aug 14, 2023
aa8995e
allow calling `to_owned` with borrowed value for [`implicit_clone`]
J-ZhengLi Aug 15, 2023
11efa01
Auto merge of #11321 - J-ZhengLi:issue11281, r=giraffate
bors Aug 15, 2023
9e33b69
Rollup merge of #114772 - fee1-dead-contrib:typed-did, r=b-naber
GuillaumeGomez Aug 15, 2023
710db18
Auto merge of #11336 - Alexendoo:uitest-backslash, r=flip1995
bors Aug 15, 2023
39219a6
Rollup merge of #114819 - estebank:issue-78124, r=compiler-errors
matthiaskrgr Aug 15, 2023
97d31c8
New chapter: Defining Lints
blyxyas Apr 3, 2023
c22906b
Fix CI formatting issues
blyxyas Apr 4, 2023
735380b
Try to clear up confusion between `type` and `category`.
blyxyas Apr 10, 2023
7465436
Improve briefness
blyxyas Apr 17, 2023
b91d676
Move "Lint types to the top"
blyxyas Apr 17, 2023
6076cda
Fix CI
blyxyas Apr 18, 2023
783c119
Address review comments and formatting
flip1995 Aug 16, 2023
87d1487
Auto merge of #10595 - blyxyas:book-define_lints, r=flip1995
bors Aug 16, 2023
111f022
Add "Method Checking"
blyxyas Apr 13, 2023
9e4a2d7
Fixes based on reviews
blyxyas Apr 17, 2023
e8d79b8
Formatting
flip1995 Aug 16, 2023
1dbc8dd
Fix define_lints->defining_lints typo in link
flip1995 Aug 16, 2023
d43486d
Auto merge of #10644 - blyxyas:book-method_checking, r=flip1995
bors Aug 16, 2023
7e46217
Add new regression test for `needless_pass_by_ref_mut`
GuillaumeGomez Aug 17, 2023
701e77c
Auto merge of #11070 - y21:issue11065, r=flip1995
bors Aug 17, 2023
5875bd2
Use `HirId` from `PlaceWithHirId` rather than using the one provided …
GuillaumeGomez Aug 17, 2023
d5298be
Auto merge of #11314 - GuillaumeGomez:needless_ref_mut_async_block, r…
bors Aug 17, 2023
d068043
Auto merge of #11070 - y21:issue11065, r=flip1995
bors Aug 17, 2023
5638860
Auto merge of #11314 - GuillaumeGomez:needless_ref_mut_async_block, r…
bors Aug 17, 2023
ede4306
Remove use of `box_syntax` CONTRIBUTING.md` example
eopb Aug 17, 2023
40872cb
Auto merge of #11348 - eopb:eopb-patch-1, r=flip1995
bors Aug 18, 2023
1698ce0
Auto merge of #11280 - samueltardieu:issue-11267, r=Centri3
bors Aug 18, 2023
41570c1
Update version attribute for 1.72 lints
xFrednet Aug 18, 2023
8f06b19
Changelog for Rust 1.72 :beach_umbrella:
xFrednet Aug 18, 2023
d9e6aac
Auto merge of #11351 - xFrednet:changelog-1-72, r=Centri3
bors Aug 18, 2023
e52bd6f
new lint: `should_panic_without_expect`
y21 Jul 21, 2023
b4ab67f
remove useless path
y21 Aug 19, 2023
b7cad50
Auto merge of #11204 - y21:issue10956, r=Alexendoo
bors Aug 19, 2023
e440065
[`iter_overeager_cloned`]: detect .cloned().map() and .cloned().for_e…
lengyijun Aug 5, 2023
7408f1d
Auto merge of #11319 - lengyijun:map_foreach, r=blyxyas
bors Aug 19, 2023
8f2d47e
Check that the suggested method exists in unwrap_or_default
Alexendoo Aug 19, 2023
50f7f8e
give some unwind-related terminators a more clear name
RalfJung Aug 19, 2023
fc1152a
Auto merge of #11359 - Alexendoo:unwrap-or-default-check-suggestion, …
bors Aug 20, 2023
7fbf808
Added new lint: `reserve_after_initialization`
Red-Rapious Aug 21, 2023
e33a17e
Changed Box
Red-Rapious Aug 21, 2023
073149a
Changed documentation example and removed comments
Red-Rapious Aug 21, 2023
a1bf23f
Added more use cases
Red-Rapious Aug 21, 2023
b0bd621
Simplified code and added tests
Red-Rapious Aug 21, 2023
e35eb91
Fix tuple_array_conversions lint on nightly
popzxc Aug 22, 2023
9c96605
Manually add annotations for ui tests
GuillaumeGomez Jul 28, 2023
3a31c05
Remove/move comments to prevent weird rustfmt wrapping
GuillaumeGomez Jul 28, 2023
a05d3a4
Automatic generation of error annotations for ui tests
GuillaumeGomez Jul 28, 2023
f467012
Move code comments to prevent having weird clippy fmt issues
GuillaumeGomez Aug 11, 2023
4be90d0
Auto merge of #11249 - GuillaumeGomez:ui-tests-annotations, r=Centri3…
bors Aug 22, 2023
df8bb47
Improved snippets and added tests
Red-Rapious Aug 22, 2023
7977d20
Do not lint inside macros
Red-Rapious Aug 22, 2023
e9a222b
Minor changes
Red-Rapious Aug 22, 2023
32eecd4
Fix clippy lint for identical `if`/`else` contraining `?` expressions
estebank Aug 23, 2023
f0eaa66
Add a test for tuple_array_conversion
popzxc Aug 23, 2023
edfee16
Auto merge of #11379 - popzxc:fix-tuple-array-conversions, r=xFrednet
bors Aug 23, 2023
f3c5877
Put `is_from_proc_macro` last
Red-Rapious Aug 23, 2023
4932d05
Auto merge of #11373 - Red-Rapious:master, r=blyxyas,y21
bors Aug 23, 2023
42bd6d7
new lint: `implied_bounds_in_impl`
y21 Aug 19, 2023
2ebff58
make generics work
y21 Aug 20, 2023
09506f4
rename lint, docs, improve diagnostics
y21 Aug 23, 2023
1227571
support inherent impls and trait impls
y21 Aug 23, 2023
df68b71
Auto merge of #11362 - y21:superfluous_impl, r=xFrednet
bors Aug 24, 2023
fe38aaa
Update changelog stable note
xFrednet Aug 24, 2023
202c846
Auto merge of #11397 - xFrednet:changelog-bump-rust-1-72, r=Centri3
bors Aug 24, 2023
ef4d64f
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 Aug 24, 2023
e1ec41b
Fix dogfood issues
flip1995 Aug 24, 2023
da06825
Bump Clippy version -> 0.1.74
flip1995 Aug 24, 2023
9334e5d
Bump nightly version -> 2023-08-24
flip1995 Aug 24, 2023
080b587
Auto merge of #11398 - flip1995:rustup, r=flip1995
bors Aug 24, 2023
7137a09
Merge commit '080b587854a73f2a8cbaecff1884860a78e2ff37' into clippyup
flip1995 Aug 24, 2023
ac25a73
Update Cargo.lock (ui_test update)
flip1995 Aug 24, 2023
4fdb4ed
Bump ui_test
oli-obk Aug 29, 2023
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
Prev Previous commit
Next Next commit
Fix define_lints->defining_lints typo in link
flip1995 committed Aug 16, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 1dbc8dd0cf51ddff5a585d128f376d26ee619196
2 changes: 1 addition & 1 deletion book/src/development/method_checking.md
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ impl<'tcx> LateLintPass<'tcx> for OurFancyMethodLint {

Take a closer look at the `ExprKind` enum variant [`MethodCall`] for more
information on the pattern matching. As mentioned in [Define
Lints](define_lints.md#lint-types), the `methods` lint type is full of pattern
Lints](defining_lints.md#lint-types), the `methods` lint type is full of pattern
matching with `MethodCall` in case the reader wishes to explore more.

Additionally, we use the [`clippy_utils::sym!`][sym] macro to conveniently