Skip to content

Commit 02583b6

Browse files
committed
Mention --force-warns.
1 parent 73ae835 commit 02583b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editions/advanced-migrations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ In this situation, if you end up with code that doesn't work in the next edition
130130

131131
If your project is not using Cargo as a build system, it may still be possible to make use of the automated lints to assist migrating to the next build system.
132132
You can enable the migration lints as described above by enabling the appropriate [lint group].
133-
For example, you can use the `#![warn(rust_2021_compatibility)]` attribute or the `-Wrust-2021-compatibility` [CLI flag].
133+
For example, you can use the `#![warn(rust_2021_compatibility)]` attribute or the `-Wrust-2021-compatibility` or `--force-warns=rust-2021-compatibility` [CLI flag].
134134

135135
The next step is to apply those lints to your code.
136136
There are several options here:

0 commit comments

Comments
 (0)