Skip to content

Commit

Permalink
Auto merge of #91590 - flip1995:clippyup, r=Manishearth
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
bors committed Dec 7, 2021
2 parents 0fb1c37 + e36e5a5 commit 953f8c8
Show file tree
Hide file tree
Showing 492 changed files with 9,892 additions and 3,254 deletions.
27 changes: 16 additions & 11 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ dependencies = [

[[package]]
name = "clippy"
version = "0.1.58"
version = "0.1.59"
dependencies = [
"cargo_metadata 0.14.0",
"clippy_lints",
Expand All @@ -584,6 +584,7 @@ dependencies = [
"filetime",
"if_chain",
"itertools 0.10.1",
"parking_lot",
"quote",
"regex",
"rustc-workspace-hack",
Expand All @@ -600,6 +601,7 @@ name = "clippy_dev"
version = "0.0.1"
dependencies = [
"bytecount",
"cargo_metadata 0.14.0",
"clap",
"indoc",
"itertools 0.10.1",
Expand All @@ -611,7 +613,7 @@ dependencies = [

[[package]]
name = "clippy_lints"
version = "0.1.58"
version = "0.1.59"
dependencies = [
"cargo_metadata 0.14.0",
"clippy_utils",
Expand All @@ -632,7 +634,7 @@ dependencies = [

[[package]]
name = "clippy_utils"
version = "0.1.58"
version = "0.1.59"
dependencies = [
"if_chain",
"rustc-semver",
Expand Down Expand Up @@ -1713,9 +1715,12 @@ dependencies = [

[[package]]
name = "instant"
version = "0.1.6"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b141fdc7836c525d4d594027d318c84161ca17aaf8113ab1f81ab93ae897485"
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
dependencies = [
"cfg-if 1.0.0",
]

[[package]]
name = "itertools"
Expand Down Expand Up @@ -1992,9 +1997,9 @@ version = "0.1.0"

[[package]]
name = "lock_api"
version = "0.4.1"
version = "0.4.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28247cc5a5be2f05fbcd76dd0cf2c7d3b5400cb978a28042abcd4fa0b3f8261c"
checksum = "712a4d093c9976e24e7dbca41db895dabcbac38eb5f4045393d17a95bdfb1109"
dependencies = [
"scopeguard",
]
Expand Down Expand Up @@ -2511,9 +2516,9 @@ dependencies = [

[[package]]
name = "parking_lot"
version = "0.11.1"
version = "0.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6d7744ac029df22dca6284efe4e898991d28e3085c706c972bcd7da4a27a15eb"
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
dependencies = [
"instant",
"lock_api",
Expand All @@ -2522,9 +2527,9 @@ dependencies = [

[[package]]
name = "parking_lot_core"
version = "0.8.3"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa7a782938e745763fe6907fc6ba86946d72f49fe7e21de074e08128a99fb018"
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
dependencies = [
"cfg-if 1.0.0",
"instant",
Expand Down
18 changes: 0 additions & 18 deletions src/tools/clippy/.github/ISSUE_TEMPLATE/blank_issue.md

This file was deleted.

44 changes: 44 additions & 0 deletions src/tools/clippy/.github/ISSUE_TEMPLATE/blank_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Blank Issue
description: Create a blank issue.
body:
- type: markdown
attributes:
value: Thank you for filing an issue!
- type: textarea
id: problem
attributes:
label: Description
description: >
Please provide a discription of the issue, along with any information
you feel relevant to replicate it.
validations:
required: true
- type: textarea
id: version
attributes:
label: Version
description: "Rust version (`rustc -Vv`)"
placeholder: |
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
render: text
- type: textarea
id: labels
attributes:
label: Additional Labels
description: >
Additional labels can be added to this issue by including the following
command
placeholder: |
@rustbot label +<label>
Common labels for this issue type are:
* C-an-interesting-project
* C-enhancement
* C-question
* C-tracking-issue
43 changes: 0 additions & 43 deletions src/tools/clippy/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

57 changes: 57 additions & 0 deletions src/tools/clippy/.github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Bug Report
description: Create a bug report for Clippy
labels: ["C-bug"]
body:
- type: markdown
attributes:
value: Thank you for filing a bug report! 🐛
- type: textarea
id: problem
attributes:
label: Summary
description: >
Please provide a short summary of the bug, along with any information
you feel relevant to replicate the bug.
validations:
required: true
- type: textarea
id: reproducer
attributes:
label: Reproducer
description: Please provide the code and steps to repoduce the bug
value: |
I tried this code:
```rust
<code>
```
I expected to see this happen:
Instead, this happened:
- type: textarea
id: version
attributes:
label: Version
description: "Rust version (`rustc -Vv`)"
placeholder: |
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
render: text
- type: textarea
id: labels
attributes:
label: Additional Labels
description: >
Additional labels can be added to this issue by including the following
command
placeholder: |
@rustbot label +<label>
Common labels for this issue type are:
* `I-suggestion-causes-error`
35 changes: 0 additions & 35 deletions src/tools/clippy/.github/ISSUE_TEMPLATE/false_negative.md

This file was deleted.

50 changes: 50 additions & 0 deletions src/tools/clippy/.github/ISSUE_TEMPLATE/false_negative.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bug Report (False Negative)
description: Create a bug report about missing warnings from a lint
labels: ["C-bug", "I-false-negative"]
body:
- type: markdown
attributes:
value: Thank you for filing a bug report! 🐛
- type: textarea
id: problem
attributes:
label: Summary
description: >
Please provide a short summary of the bug, along with any information
you feel relevant to replicate the bug.
validations:
required: true
- type: input
id: lint-name
attributes:
label: Lint Name
description: Please provide the lint name.
- type: textarea
id: reproducer
attributes:
label: Reproducer
description: Please provide the code and steps to repoduce the bug
value: |
I tried this code:
```rust
<code>
```
I expected to see this happen:
Instead, this happened:
- type: textarea
id: version
attributes:
label: Version
description: "Rust version (`rustc -Vv`)"
placeholder: |
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
render: text
44 changes: 0 additions & 44 deletions src/tools/clippy/.github/ISSUE_TEMPLATE/false_positive.md

This file was deleted.

Loading

0 comments on commit 953f8c8

Please sign in to comment.