From 82f48c6072315e1b00c8a509ad6ebc60f86e15a0 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 8 Sep 2021 21:33:15 -0700 Subject: [PATCH] [beta] Fix `cargo fix --edition` on stable. --- src/cargo/ops/fix.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cargo/ops/fix.rs b/src/cargo/ops/fix.rs index 1d479176c3c..c373a9b8fcb 100644 --- a/src/cargo/ops/fix.rs +++ b/src/cargo/ops/fix.rs @@ -857,8 +857,7 @@ impl FixArgs { if edition.supports_compat_lint() { if env::var_os(SUPPORTS_FORCE_WARN).is_some() { cmd.arg("--force-warn") - .arg(format!("rust-{}-compatibility", edition)) - .arg("-Zunstable-options"); + .arg(format!("rust-{}-compatibility", edition)); } else { cmd.arg("-W").arg(format!("rust-{}-compatibility", edition)); }