Skip to content

Commit a4805ff

Browse files
committed
Select edition 2024
1 parent 6c367cb commit a4805ff

File tree

11 files changed

+13
-13
lines changed

11 files changed

+13
-13
lines changed

Cargo.toml

+1-1
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]]

book/book.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ src = "src"
66
title = "Clippy Documentation"
77

88
[rust]
9-
edition = "2018"
9+
edition = "2024"
1010

1111
[output.html]
1212
edit-url-template = "https://github.com/rust-lang/rust-clippy/edit/master/book/{path}"

book/src/development/adding_lints.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ via `Tools -> Clippy` and you should see the generated code in the output below.
537537
If the command was executed successfully, you can copy the code over to where
538538
you are implementing your lint.
539539

540-
[author_example]: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=9a12cb60e5c6ad4e3003ac6d5e63cf55
540+
[author_example]: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=9a12cb60e5c6ad4e3003ac6d5e63cf55
541541

542542
## Print HIR lint
543543

@@ -552,7 +552,7 @@ attribute to expressions you often need to enable
552552
_Clippy_.
553553

554554
[_High-Level Intermediate Representation (HIR)_]: https://rustc-dev-guide.rust-lang.org/hir.html
555-
[print_hir_example]: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=daf14db3a7f39ca467cd1b86c34b9afb
555+
[print_hir_example]: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2024&gist=daf14db3a7f39ca467cd1b86c34b9afb
556556

557557
## Documentation
558558

clippy_config/Cargo.toml

+1-1
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

+1-1
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_dummy/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "clippy_dummy" # rename to clippy before publishing
33
version = "0.0.303"
4-
edition = "2018"
4+
edition = "2024"
55
readme = "crates-readme.md"
66
description = "A bunch of helpful lints to avoid common pitfalls in Rust."
77
build = 'build.rs'

clippy_lints/Cargo.toml

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+2-2
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)