Skip to content

Commit

Permalink
Use edition 2024 when running cargo dev lint
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Feb 6, 2025
1 parent 3e3715c commit 8a9d550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_dev/src/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub fn run<'a>(path: &str, args: impl Iterator<Item = &'a String>) {
.args(["run", "--bin", "clippy-driver", "--"])
.args(["-L", "./target/debug"])
.args(["-Z", "no-codegen"])
.args(["--edition", "2021"])
.args(["--edition", "2024"])
.arg(path)
.args(args)
// Prevent rustc from creating `rustc-ice-*` files the console output is enough.
Expand Down

0 comments on commit 8a9d550

Please sign in to comment.