-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #80623 - flip1995:clippyup, r=Manishearth
Update Clippy Biweekly Clippy update. This includes a Cargo.lock update for the recent Clippy version bump. r? `@Manishearth`
- Loading branch information
Showing
40 changed files
with
650 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: Bug Report (False Negative) | ||
about: Create a bug report about missing warnings from a lint | ||
labels: L-bug, L-false-negative | ||
--- | ||
<!-- | ||
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, | ||
along with any information you feel relevant to replicating the bug. | ||
--> | ||
Lint name: | ||
|
||
|
||
I tried this code: | ||
|
||
```rust | ||
<code> | ||
``` | ||
|
||
I expected to see this happen: *explanation* | ||
|
||
Instead, this happened: *explanation* | ||
|
||
### Meta | ||
|
||
- `cargo clippy -V`: e.g. clippy 0.0.212 (f455e46 2020-06-20) | ||
- `rustc -Vv`: | ||
``` | ||
rustc 1.46.0-nightly (f455e46ea 2020-06-20) | ||
binary: rustc | ||
commit-hash: f455e46eae1a227d735091091144601b467e1565 | ||
commit-date: 2020-06-20 | ||
host: x86_64-unknown-linux-gnu | ||
release: 1.46.0-nightly | ||
LLVM version: 10.0 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: Bug Report (False Positive) | ||
about: Create a bug report about a wrongly emitted lint warning | ||
labels: L-bug, L-false-positive | ||
--- | ||
<!-- | ||
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug, | ||
along with any information you feel relevant to replicating the bug. | ||
--> | ||
Lint name: | ||
|
||
|
||
I tried this code: | ||
|
||
```rust | ||
<code> | ||
``` | ||
|
||
I expected to see this happen: *explanation* | ||
|
||
Instead, this happened: *explanation* | ||
|
||
### Meta | ||
|
||
- `cargo clippy -V`: e.g. clippy 0.0.212 (f455e46 2020-06-20) | ||
- `rustc -Vv`: | ||
``` | ||
rustc 1.46.0-nightly (f455e46ea 2020-06-20) | ||
binary: rustc | ||
commit-hash: f455e46eae1a227d735091091144601b467e1565 | ||
commit-date: 2020-06-20 | ||
host: x86_64-unknown-linux-gnu | ||
release: 1.46.0-nightly | ||
LLVM version: 10.0 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "clippy" | ||
version = "0.0.212" | ||
version = "0.1.51" | ||
authors = [ | ||
"Manish Goregaokar <[email protected]>", | ||
"Andre Bogus <[email protected]>", | ||
|
@@ -29,7 +29,7 @@ path = "src/driver.rs" | |
|
||
[dependencies] | ||
# begin automatic update | ||
clippy_lints = { version = "0.0.212", path = "clippy_lints" } | ||
clippy_lints = { version = "0.1.50", path = "clippy_lints" } | ||
# end automatic update | ||
semver = "0.11" | ||
rustc_tools_util = { version = "0.2.0", path = "rustc_tools_util" } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "clippy_lints" | ||
# begin automatic update | ||
version = "0.0.212" | ||
version = "0.1.51" | ||
# end automatic update | ||
authors = [ | ||
"Manish Goregaokar <[email protected]>", | ||
|
Oops, something went wrong.