about summary refs log tree commit diff
path: root/src/librustc_driver
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2017-11-20 22:16:38 +0100
committerTobias Bucher <tobiasbucher5991@gmail.com>2017-11-20 22:16:38 +0100
commit8affcb7bd4a6f012941b07e5fb53dce44da24107 (patch)
treee90cc9abe0bb84604c1041372835171d7af1a4fc /src/librustc_driver
parent33374fa9d09e2a790979b31e61100dfed4b44139 (diff)
downloadrust-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.rs2
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 {