Skip to content

Commit 3ff12ef

Browse files
committed
Select edition 2024
1 parent 0456e4d commit 3ff12ef

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"
1010
keywords = ["clippy", "lint", "plugin"]
1111
categories = ["development-tools", "development-tools::cargo-plugins"]
1212
build = "build.rs"
13-
edition = "2021"
13+
edition = "2024"
1414
publish = false
1515

1616
[[bin]]

clippy_config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "clippy_config"
33
# begin autogenerated version
44
version = "0.1.86"
55
# end autogenerated version
6-
edition = "2021"
6+
edition = "2024"
77
publish = false
88

99
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

clippy_dev/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "clippy_dev"
33
description = "Clippy developer tooling"
44
version = "0.0.1"
5-
edition = "2021"
5+
edition = "2024"
66

77
[dependencies]
88
aho-corasick = "1.0"

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ repository = "https://github.com/rust-lang/rust-clippy"
88
readme = "README.md"
99
license = "MIT OR Apache-2.0"
1010
keywords = ["clippy", "lint", "plugin"]
11-
edition = "2021"
11+
edition = "2024"
1212

1313
[dependencies]
1414
arrayvec = { version = "0.7", default-features = false }

clippy_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "clippy_utils"
33
# begin autogenerated version
44
version = "0.1.86"
55
# end autogenerated version
6-
edition = "2021"
6+
edition = "2024"
77
description = "Helpful tools for writing lints, provided as they are used in Clippy"
88
repository = "https://github.com/rust-lang/rust-clippy"
99
readme = "README.md"

lintcheck/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
license = "MIT OR Apache-2.0"
77
repository = "https://github.com/rust-lang/rust-clippy"
88
categories = ["development-tools"]
9-
edition = "2021"
9+
edition = "2024"
1010
publish = false
1111
default-run = "lintcheck"
1212

rustc_tools_util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ readme = "README.md"
77
license = "MIT OR Apache-2.0"
88
keywords = ["rustc", "tool", "git", "version", "hash"]
99
categories = ["development-tools"]
10-
edition = "2018"
10+
edition = "2024"
1111

1212
[dependencies]

rustfmt.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ max_width = 120
22
comment_width = 100
33
match_block_trailing_comma = true
44
wrap_comments = true
5-
edition = "2021"
5+
edition = "2024"
66
error_on_line_overflow = true
77
imports_granularity = "Module"
8-
version = "Two"
8+
style_edition = "2024"
99
ignore = ["tests/ui/crashes/ice-10912.rs"]

0 commit comments

Comments
 (0)