Skip to content

Commit d199d81

Browse files
committed
Auto merge of #9891 - ehuss:beta-remove-z-force-warn, r=alexcrichton
[beta] Fix `cargo fix --edition` on stable. Beta backport of #9890.
2 parents 18751dd + 82f48c6 commit d199d81

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)