From 8affcb7bd4a6f012941b07e5fb53dce44da24107 Mon Sep 17 00:00:00 2001 From: Tobias Bucher Date: Mon, 20 Nov 2017 22:16:38 +0100 Subject: [PATCH] Clarify what `-D warnings` or `-F warnings` does They set all lints currently on the warning level to `deny` or `forbid`, respectively. --- src/librustc_driver/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs index c5cce70c9456..f67c4ae17187 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)>| { for (name, to) in lints {