1
Fork 0

Update -Wall message based on feedback

The reference to -Wunused was removed, and some phrasing was changed.
This commit is contained in:
Phlosioneer 2018-03-12 21:26:51 -04:00
parent 1246eef9a9
commit c1337cda4c

View file

@ -1138,10 +1138,9 @@ fn usage(verbose: bool, include_unstable_options: bool) {
fn print_wall_help() {
println!("
The flag -Wall does not exist in rustc. Most useful lints are enabled by default.
Use `rustc -W help` to see all available lints. The most used lints that are not
enabled by default covered by -Wunused; however, the best practice is to put
warning settings in the crate root using `#![warn(unused)]` instead of using
The flag `-Wall` does not exist in `rustc`. Most useful lints are enabled by
default. Use `rustc -W help` to see all available lints. It's more common to put
warning settings in the crate root using `#![warn(LINT_NAME)]` instead of using
the command line flag directly.
");
}