Skip to content

Commit 3dc2018

Browse files
committed
Changes rustc argument from --force-warns to --force-warn
The rustc argument was renamed in rust-lang/rust#87346.
1 parent 706c291 commit 3dc2018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cargo/ops/fix.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ impl FixArgs {
793793
if let Some(edition) = self.prepare_for_edition {
794794
if edition.supports_compat_lint() {
795795
if config.nightly_features_allowed {
796-
cmd.arg("--force-warns")
796+
cmd.arg("--force-warn")
797797
.arg(format!("rust-{}-compatibility", edition))
798798
.arg("-Zunstable-options");
799799
} else {

0 commit comments

Comments
 (0)