Skip to content

Update Clippy #87954

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

Merged
merged 72 commits into from
Aug 13, 2021
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
fb9b13a
Fix FP for nonstandard_macro_braces lint
DevinR528 Jul 20, 2021
5bc5bfc
Add tests for FP in nonstandard_macro_braces
DevinR528 Jul 21, 2021
f5c3ed4
Only trigger for one level of macros
DevinR528 Jul 22, 2021
44d37a4
Lint inside macro when owned by current crate
DevinR528 Jul 24, 2021
2b20f49
Merge commit '0cce3f643bfcbb92d5a1bb71858c9cbaff749d6b' into clippyup
flip1995 Jul 29, 2021
dbb10b8
add xor-swap lint
May 2, 2021
fdf29c0
Updated changelog for 1.55
xFrednet Jul 27, 2021
b3b2024
Auto merge of #7498 - xFrednet:changelog-1-55, r=flip1995
bors Jul 29, 2021
e9004b0
Remove `or_patterns` feature gate in example
LeSeulArtichaut Jul 29, 2021
2fe716c
Auto merge of #7507 - LeSeulArtichaut:patch-1, r=flip1995
bors Jul 29, 2021
35a74a1
Updated config value name in changelog for 1.54
xFrednet Jul 29, 2021
f6a5889
Auto merge of #7509 - xFrednet:patch-1, r=flip1995
bors Jul 29, 2021
967a721
Remove unnecessary trailing semicolons from clippy tests
Aaron1011 Jul 29, 2021
6c2199e
rfc3052: Remove authors field from Cargo manifests
lf- Jul 27, 2021
9a6ae78
Use multispan suggestions more often
estebank Jun 28, 2021
0af50b4
Rollup merge of #87385 - Aaron1011:final-enable-semi, r=petrochenkov
JohnTitor Jul 30, 2021
c9e45e4
Auto merge of #86754 - estebank:use-multispans-more, r=varkor
bors Jul 30, 2021
fc387b8
Workaround rust-lang/rustfmt#4477 - relative paths in `path` attribute
Jarcho Jul 31, 2021
fe75faa
Fix `while_let_on_iterator`
Jarcho Jul 31, 2021
205aa88
Fix `while_let_on_iterator`
Jarcho Jul 31, 2021
05fa78f
Auto merge of #7520 - Jarcho:while_let_7510, r=Manishearth
bors Jul 31, 2021
a1f790c
Fix clippy
petrochenkov Jul 28, 2021
69d4390
Handle `Result` on `map_flatten` lint
dswij Aug 1, 2021
2f315b8
bump bootstrap compiler to 1.55
pietroalbini Jul 30, 2021
b6c2329
Auto merge of #7519 - Jarcho:rustfmt_fix, r=giraffate
bors Aug 2, 2021
10bb28c
Auto merge of #87535 - lf-:authors, r=Mark-Simulacrum
bors Aug 2, 2021
4e760b6
Auto merge of #7522 - dswij:map-flatten-result, r=llogiq
bors Aug 2, 2021
b7d80e7
Updated `define_Conf!` to support multi-line doc comments
xFrednet Aug 2, 2021
51f94ad
Added the `metadata-collector-lint` feature to the CI
xFrednet Aug 2, 2021
77af56d
Auto merge of #7525 - xFrednet:7172-update-define-conf-macro, r=flip1995
bors Aug 2, 2021
bc7fac9
fixup! Lint inside macro when owned by current crate
DevinR528 Aug 3, 2021
54c41c0
needless_borrow: try to make lint example a bit more illustrating
matthiaskrgr Aug 3, 2021
f4ea50b
Use node v12.x in CI
giraffate Aug 4, 2021
afe6b12
Auto merge of #87568 - petrochenkov:localevel, r=cjgillot
bors Aug 4, 2021
827f661
Address warnings for remark check
giraffate Aug 4, 2021
8556910
Auto merge of #7529 - giraffate:update_node_version, r=flip1995,llogiq
bors Aug 4, 2021
2dbf0c1
Auto merge of #7528 - matthiaskrgr:nedlbrw, r=Manishearth
bors Aug 4, 2021
4743ec1
Don't emit `too_many_lines` for closures
LeSeulArtichaut Aug 5, 2021
8a4ffb8
fixed bug that had to deal with mut and non mut suggestion
Valentine-Mario Aug 5, 2021
ccb5d73
Properly handle `Self` type for `trivially_copy_pass_by_ref`
LeSeulArtichaut Aug 5, 2021
15b8708
Add missing backtick in docs for `redundant_allocation`
LeSeulArtichaut Aug 5, 2021
64ff2b0
Replace `span_to_snippet` calls with `snippet_opt` from `clippy_utils`
LeSeulArtichaut Aug 6, 2021
ae700b4
Use `EarlyContext::sess` instead of `LintContext::sess()`
LeSeulArtichaut Aug 6, 2021
43ee3fe
Clean up examples in new lint suggestion template
Aug 7, 2021
a0e71e5
Auto merge of #7533 - Valentine-Mario:vec_extend_to_append, r=xFrednet
bors Aug 7, 2021
6cb30ad
Auto merge of #7534 - LeSeulArtichaut:7517-closure-too-many-lines, r=…
bors Aug 7, 2021
176df7c
Auto merge of #7536 - LeSeulArtichaut:redundant-allocation-doc, r=gir…
bors Aug 7, 2021
bc9459f
similar_names: allow "iter" and "item"
mgeier Aug 7, 2021
6d36d1a
merge XOR_SWAP with MANUAL_SWAP
HKalbasi Jul 29, 2021
0084195
Auto merge of #7506 - HKalbasi:add-xor-swap, r=camsteffen
bors Aug 9, 2021
14d2aa1
Auto merge of #7542 - LeSeulArtichaut:cleanups, r=flip1995
bors Aug 9, 2021
87ce09d
Auto merge of #7544 - r00ster91:patch-1, r=flip1995
bors Aug 9, 2021
f998e89
Auto merge of #7478 - DevinR528:preemtive, r=llogiq
bors Aug 10, 2021
76c4a33
Auto merge of #7535 - LeSeulArtichaut:7518-self-ty-arg, r=xFrednet
bors Aug 10, 2021
11ef047
Add unwrap_or_else_default lint
lf- Jul 30, 2021
c78cc7a
Add is_trait_item, refactor or_fun_call and unwrap_or_else_default
lf- Aug 6, 2021
23d398b
tree-wide: Fix all the rustdoc warnings
lf- Aug 6, 2021
652b6a7
update clippy
estebank Aug 11, 2021
fc0af8e
`never_loop`: suggest using an `if let` instead of a `for` loop
LeSeulArtichaut Aug 6, 2021
b1b3860
Auto merge of #7541 - LeSeulArtichaut:for-never-loop, r=camsteffen
bors Aug 11, 2021
573b897
Add test for similar names "iter" and "item"
mgeier Aug 11, 2021
ee63ebe
rustfmt
mgeier Aug 11, 2021
f7784ef
fix line numbers
mgeier Aug 11, 2021
979ce29
Correctly report inclusive range in no_effect lint
F3real Aug 11, 2021
295df88
Reword is_trait_item description
lf- Aug 12, 2021
dd9fe5c
Auto merge of #7556 - F3real:no_effect_inclusive_range, r=flip1995
bors Aug 12, 2021
e62a6ca
Auto merge of #7516 - lf-:unwrap-or-default, r=xFrednet
bors Aug 12, 2021
62f4187
Auto merge of #7546 - mgeier:patch-1, r=giraffate
bors Aug 12, 2021
d02016d
Merge remote-tracking branch 'upstream/master' into rustup
flip1995 Aug 12, 2021
c3995b5
Bump nightly version -> 2021-08-12
flip1995 Aug 12, 2021
7bfc26e
Auto merge of #7558 - flip1995:rustup, r=flip1995
bors Aug 12, 2021
f92a0c8
Merge commit '7bfc26ec8e7a454786668e7e52ffe527fc649735' into clippyup
flip1995 Aug 12, 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
Prev Previous commit
Next Next commit
rustfmt
  • Loading branch information
mgeier authored Aug 11, 2021
commit ee63ebe11b900c20a1b8e385286f257f1eaa3a0c
2 changes: 1 addition & 1 deletion tests/ui/similar_names.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fn main() {
// names often used in win32 code (for example WindowProc)
let wparam: i32;
let lparam: i32;

let iter: i32;
let item: i32;
}
Expand Down