From 3dc2018c4090b7cbc3d40a803c7b3993b74d785c Mon Sep 17 00:00:00 2001 From: Parth Nobel Date: Wed, 21 Jul 2021 23:44:24 -0700 Subject: [PATCH] Changes rustc argument from `--force-warns` to `--force-warn` The rustc argument was renamed in rust-lang/rust#87346. --- src/cargo/ops/fix.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/fix.rs b/src/cargo/ops/fix.rs index 57933e4a1df..ddce0acca47 100644 --- a/src/cargo/ops/fix.rs +++ b/src/cargo/ops/fix.rs @@ -793,7 +793,7 @@ impl FixArgs { if let Some(edition) = self.prepare_for_edition { if edition.supports_compat_lint() { if config.nightly_features_allowed { - cmd.arg("--force-warns") + cmd.arg("--force-warn") .arg(format!("rust-{}-compatibility", edition)) .arg("-Zunstable-options"); } else {