Skip to content

Commit 8affcb7

Browse files
committed
Clarify what -D warnings or -F warnings does
They set all lints currently on the warning level to `deny` or `forbid`, respectively.
1 parent 33374fa commit 8affcb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ Available lint options:
980980
println!("Lint groups provided by rustc:\n");
981981
println!(" {} {}", padded("name"), "sub-lints");
982982
println!(" {} {}", padded("----"), "---------");
983-
println!(" {} {}", padded("warnings"), "all built-in lints");
983+
println!(" {} {}", padded("warnings"), "all lints activated to the warning level");
984984

985985
let print_lint_groups = |lints: Vec<(&'static str, Vec<lint::LintId>)>| {
986986
for (name, to) in lints {

0 commit comments

Comments
 (0)