]> git.lizzy.rs Git - rust.git/commitdiff
Changed the wording for the `warnings` lint
authorTobias Bucher <tobiasbucher5991@gmail.com>
Fri, 1 Dec 2017 19:28:01 +0000 (20:28 +0100)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Fri, 1 Dec 2017 19:28:01 +0000 (20:28 +0100)
src/librustc_driver/lib.rs

index f67c4ae17187a40e7bc95b3c3b651ac48459625e..910a2694668cc77eb5dba218936b4c335c74be2c 100644 (file)
@@ -980,7 +980,7 @@ fn sort_lint_groups(lints: Vec<(&'static str, Vec<lint::LintId>, bool)>)
     println!("Lint groups provided by rustc:\n");
     println!("    {}  {}", padded("name"), "sub-lints");
     println!("    {}  {}", padded("----"), "---------");
-    println!("    {}  {}", padded("warnings"), "all lints activated to the warning level");
+    println!("    {}  {}", padded("warnings"), "all lints that are set to issue warnings");
 
     let print_lint_groups = |lints: Vec<(&'static str, Vec<lint::LintId>)>| {
         for (name, to) in lints {