Clarify what -D warnings or -F warnings does
They set all lints currently on the warning level to `deny` or `forbid`, respectively.
This commit is contained in:
parent
33374fa9d0
commit
8affcb7bd4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue