Skip to content

Commit 8a9d550

Browse files
committed
Use edition 2024 when running cargo dev lint
1 parent 3e3715c commit 8a9d550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_dev/src/lint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub fn run<'a>(path: &str, args: impl Iterator<Item = &'a String>) {
1717
.args(["run", "--bin", "clippy-driver", "--"])
1818
.args(["-L", "./target/debug"])
1919
.args(["-Z", "no-codegen"])
20-
.args(["--edition", "2021"])
20+
.args(["--edition", "2024"])
2121
.arg(path)
2222
.args(args)
2323
// Prevent rustc from creating `rustc-ice-*` files the console output is enough.

0 commit comments

Comments
 (0)