Skip to content

Commit

Permalink
Changes rustc argument from --force-warns to --force-warn
Browse files Browse the repository at this point in the history
The rustc argument was renamed in rust-lang/rust#87346.
  • Loading branch information
PTNobel committed Jul 22, 2021
1 parent 706c291 commit 3dc2018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/ops/fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3dc2018

Please sign in to comment.