diff options
| author | Tobias Bucher <tobiasbucher5991@gmail.com> | 2017-11-20 22:16:38 +0100 |
|---|---|---|
| committer | Tobias Bucher <tobiasbucher5991@gmail.com> | 2017-11-20 22:16:38 +0100 |
| commit | 8affcb7bd4a6f012941b07e5fb53dce44da24107 (patch) | |
| tree | e90cc9abe0bb84604c1041372835171d7af1a4fc /src/librustc_driver | |
| parent | 33374fa9d09e2a790979b31e61100dfed4b44139 (diff) | |
| download | rust-8affcb7bd4a6f012941b07e5fb53dce44da24107.tar.gz rust-8affcb7bd4a6f012941b07e5fb53dce44da24107.zip | |
Clarify what `-D warnings` or `-F warnings` does
They set all lints currently on the warning level to `deny` or `forbid`, respectively.
Diffstat (limited to 'src/librustc_driver')
| -rw-r--r-- | src/librustc_driver/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index c5cce70c945..f67c4ae1718 100644 --- a/src/librustc_driver/lib.rs +++ b/src/librustc_driver/lib.rs @@ -980,7 +980,7 @@ Available lint options: println!("Lint groups provided by rustc:\n"); println!(" {} {}", padded("name"), "sub-lints"); println!(" {} {}", padded("----"), "---------"); - println!(" {} {}", padded("warnings"), "all built-in lints"); + println!(" {} {}", padded("warnings"), "all lints activated to the warning level"); let print_lint_groups = |lints: Vec<(&'static str, Vec<lint::LintId>)>| { for (name, to) in lints { |
