Auto merge of #7664 - matthiaskrgr:bump_to_2021, r=flip1995
bump clippy crates to edition 2021 Also helps with dogfooding edition 2021 a bit. :) Tests passed locally. --- changelog: bump edition from 2018 to 2021
This commit is contained in:
commit
0c8799da5a
5 changed files with 6 additions and 6 deletions
|
@ -8,7 +8,7 @@ license = "MIT OR Apache-2.0"
|
||||||
keywords = ["clippy", "lint", "plugin"]
|
keywords = ["clippy", "lint", "plugin"]
|
||||||
categories = ["development-tools", "development-tools::cargo-plugins"]
|
categories = ["development-tools", "development-tools::cargo-plugins"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "clippy_dev"
|
name = "clippy_dev"
|
||||||
version = "0.0.1"
|
version = "0.0.1"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bytecount = "0.6"
|
bytecount = "0.6"
|
||||||
|
|
|
@ -6,7 +6,7 @@ repository = "https://github.com/rust-lang/rust-clippy"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
keywords = ["clippy", "lint", "plugin"]
|
keywords = ["clippy", "lint", "plugin"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
cargo_metadata = "0.12"
|
cargo_metadata = "0.12"
|
||||||
|
|
|
@ -183,8 +183,8 @@ declare_clippy_lint! {
|
||||||
/// ```rust
|
/// ```rust
|
||||||
/// let x = 5;
|
/// let x = 5;
|
||||||
/// match x {
|
/// match x {
|
||||||
/// 1...10 => println!("1 ... 10"),
|
/// 1..=10 => println!("1 ... 10"),
|
||||||
/// 5...15 => println!("5 ... 15"),
|
/// 5..=15 => println!("5 ... 15"),
|
||||||
/// _ => (),
|
/// _ => (),
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "clippy_utils"
|
name = "clippy_utils"
|
||||||
version = "0.1.57"
|
version = "0.1.57"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
Loading…
Reference in a new issue