Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.

Commit d9729ee

Browse files
committed
Fix CI for most recent nightly
1 parent 7b0e921 commit d9729ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cargo-fix/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn run() -> Result<(), Error> {
8989
if let Some("2018") = matches.value_of("edition") {
9090
info!("edition upgrade!");
9191
let mut rustc_flags = env::var_os("RUSTFLAGS").unwrap_or_else(|| "".into());
92-
rustc_flags.push("-W rust-2018-breakage");
92+
rustc_flags.push("-W rust-2018-compatibility");
9393
cmd.env("RUSTFLAGS", &rustc_flags);
9494
}
9595

0 commit comments

Comments
 (0)