Skip to content

Commit 1ae99da

Browse files
committed
Fix cargo fix --edition on stable.
1 parent e515c32 commit 1ae99da

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cargo/ops/fix.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,7 @@ impl FixArgs {
857857
if edition.supports_compat_lint() {
858858
if env::var_os(SUPPORTS_FORCE_WARN).is_some() {
859859
cmd.arg("--force-warn")
860-
.arg(format!("rust-{}-compatibility", edition))
861-
.arg("-Zunstable-options");
860+
.arg(format!("rust-{}-compatibility", edition));
862861
} else {
863862
cmd.arg("-W").arg(format!("rust-{}-compatibility", edition));
864863
}

0 commit comments

Comments
 (0)