Skip to content

Commit 953f8c8

Browse files
committed
Auto merge of #91590 - flip1995:clippyup, r=Manishearth
Update Clippy Since RLS is now already broken #91543 , we shouldn't be blocked by it anymore. I plan to do the RLS update once new rustc-ap packages are released. r? `@Manishearth`
2 parents 0fb1c37 + e36e5a5 commit 953f8c8

File tree

492 files changed

+9892
-3254
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

492 files changed

+9892
-3254
lines changed

Cargo.lock

+16-11
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ dependencies = [
574574

575575
[[package]]
576576
name = "clippy"
577-
version = "0.1.58"
577+
version = "0.1.59"
578578
dependencies = [
579579
"cargo_metadata 0.14.0",
580580
"clippy_lints",
@@ -584,6 +584,7 @@ dependencies = [
584584
"filetime",
585585
"if_chain",
586586
"itertools 0.10.1",
587+
"parking_lot",
587588
"quote",
588589
"regex",
589590
"rustc-workspace-hack",
@@ -600,6 +601,7 @@ name = "clippy_dev"
600601
version = "0.0.1"
601602
dependencies = [
602603
"bytecount",
604+
"cargo_metadata 0.14.0",
603605
"clap",
604606
"indoc",
605607
"itertools 0.10.1",
@@ -611,7 +613,7 @@ dependencies = [
611613

612614
[[package]]
613615
name = "clippy_lints"
614-
version = "0.1.58"
616+
version = "0.1.59"
615617
dependencies = [
616618
"cargo_metadata 0.14.0",
617619
"clippy_utils",
@@ -632,7 +634,7 @@ dependencies = [
632634

633635
[[package]]
634636
name = "clippy_utils"
635-
version = "0.1.58"
637+
version = "0.1.59"
636638
dependencies = [
637639
"if_chain",
638640
"rustc-semver",
@@ -1713,9 +1715,12 @@ dependencies = [
17131715

17141716
[[package]]
17151717
name = "instant"
1716-
version = "0.1.6"
1718+
version = "0.1.12"
17171719
source = "registry+https://github.com/rust-lang/crates.io-index"
1718-
checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485"
1720+
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
1721+
dependencies = [
1722+
"cfg-if 1.0.0",
1723+
]
17191724

17201725
[[package]]
17211726
name = "itertools"
@@ -1992,9 +1997,9 @@ version = "0.1.0"
19921997

19931998
[[package]]
19941999
name = "lock_api"
1995-
version = "0.4.1"
2000+
version = "0.4.5"
19962001
source = "registry+https://github.com/rust-lang/crates.io-index"
1997-
checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c"
2002+
checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109"
19982003
dependencies = [
19992004
"scopeguard",
20002005
]
@@ -2511,9 +2516,9 @@ dependencies = [
25112516

25122517
[[package]]
25132518
name = "parking_lot"
2514-
version = "0.11.1"
2519+
version = "0.11.2"
25152520
source = "registry+https://github.com/rust-lang/crates.io-index"
2516-
checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
2521+
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
25172522
dependencies = [
25182523
"instant",
25192524
"lock_api",
@@ -2522,9 +2527,9 @@ dependencies = [
25222527

25232528
[[package]]
25242529
name = "parking_lot_core"
2525-
version = "0.8.3"
2530+
version = "0.8.5"
25262531
source = "registry+https://github.com/rust-lang/crates.io-index"
2527-
checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
2532+
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
25282533
dependencies = [
25292534
"cfg-if 1.0.0",
25302535
"instant",

src/tools/clippy/.github/ISSUE_TEMPLATE/blank_issue.md

-18
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Blank Issue
2+
description: Create a blank issue.
3+
body:
4+
- type: markdown
5+
attributes:
6+
value: Thank you for filing an issue!
7+
- type: textarea
8+
id: problem
9+
attributes:
10+
label: Description
11+
description: >
12+
Please provide a discription of the issue, along with any information
13+
you feel relevant to replicate it.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: version
18+
attributes:
19+
label: Version
20+
description: "Rust version (`rustc -Vv`)"
21+
placeholder: |
22+
rustc 1.46.0-nightly (f455e46ea 2020-06-20)
23+
binary: rustc
24+
commit-hash: f455e46eae1a227d735091091144601b467e1565
25+
commit-date: 2020-06-20
26+
host: x86_64-unknown-linux-gnu
27+
release: 1.46.0-nightly
28+
LLVM version: 10.0
29+
render: text
30+
- type: textarea
31+
id: labels
32+
attributes:
33+
label: Additional Labels
34+
description: >
35+
Additional labels can be added to this issue by including the following
36+
command
37+
placeholder: |
38+
@rustbot label +<label>
39+
40+
Common labels for this issue type are:
41+
* C-an-interesting-project
42+
* C-enhancement
43+
* C-question
44+
* C-tracking-issue

src/tools/clippy/.github/ISSUE_TEMPLATE/bug_report.md

-43
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Bug Report
2+
description: Create a bug report for Clippy
3+
labels: ["C-bug"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thank you for filing a bug report! 🐛
8+
- type: textarea
9+
id: problem
10+
attributes:
11+
label: Summary
12+
description: >
13+
Please provide a short summary of the bug, along with any information
14+
you feel relevant to replicate the bug.
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: reproducer
19+
attributes:
20+
label: Reproducer
21+
description: Please provide the code and steps to repoduce the bug
22+
value: |
23+
I tried this code:
24+
25+
```rust
26+
<code>
27+
```
28+
29+
I expected to see this happen:
30+
31+
Instead, this happened:
32+
- type: textarea
33+
id: version
34+
attributes:
35+
label: Version
36+
description: "Rust version (`rustc -Vv`)"
37+
placeholder: |
38+
rustc 1.46.0-nightly (f455e46ea 2020-06-20)
39+
binary: rustc
40+
commit-hash: f455e46eae1a227d735091091144601b467e1565
41+
commit-date: 2020-06-20
42+
host: x86_64-unknown-linux-gnu
43+
release: 1.46.0-nightly
44+
LLVM version: 10.0
45+
render: text
46+
- type: textarea
47+
id: labels
48+
attributes:
49+
label: Additional Labels
50+
description: >
51+
Additional labels can be added to this issue by including the following
52+
command
53+
placeholder: |
54+
@rustbot label +<label>
55+
56+
Common labels for this issue type are:
57+
* `I-suggestion-causes-error`

src/tools/clippy/.github/ISSUE_TEMPLATE/false_negative.md

-35
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Bug Report (False Negative)
2+
description: Create a bug report about missing warnings from a lint
3+
labels: ["C-bug", "I-false-negative"]
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Thank you for filing a bug report! 🐛
8+
- type: textarea
9+
id: problem
10+
attributes:
11+
label: Summary
12+
description: >
13+
Please provide a short summary of the bug, along with any information
14+
you feel relevant to replicate the bug.
15+
validations:
16+
required: true
17+
- type: input
18+
id: lint-name
19+
attributes:
20+
label: Lint Name
21+
description: Please provide the lint name.
22+
- type: textarea
23+
id: reproducer
24+
attributes:
25+
label: Reproducer
26+
description: Please provide the code and steps to repoduce the bug
27+
value: |
28+
I tried this code:
29+
30+
```rust
31+
<code>
32+
```
33+
34+
I expected to see this happen:
35+
36+
Instead, this happened:
37+
- type: textarea
38+
id: version
39+
attributes:
40+
label: Version
41+
description: "Rust version (`rustc -Vv`)"
42+
placeholder: |
43+
rustc 1.46.0-nightly (f455e46ea 2020-06-20)
44+
binary: rustc
45+
commit-hash: f455e46eae1a227d735091091144601b467e1565
46+
commit-date: 2020-06-20
47+
host: x86_64-unknown-linux-gnu
48+
release: 1.46.0-nightly
49+
LLVM version: 10.0
50+
render: text

src/tools/clippy/.github/ISSUE_TEMPLATE/false_positive.md

-44
This file was deleted.

0 commit comments

Comments
 (0)