Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clarify what -D warnings or -F warnings does
They set all lints currently on the warning level to `deny` or `forbid`,
respectively.
  • Loading branch information
tbu- committed Nov 20, 2017
1 parent 33374fa commit 8affcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_driver/lib.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 8affcb7

Please sign in to comment.