Skip to content

Commit b5f11da

Browse files
authored
Rollup merge of rust-lang#46136 - tbu-:pr_werror, r=nikomatsakis
Clarify what `-D warnings` or `-F warnings` does They set all lints currently on the warning level to `deny` or `forbid`, respectively.
2 parents 632ad19 + e1e1dcc commit b5f11da

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
@@ -982,7 +982,7 @@ Available lint options:
982982
println!("Lint groups provided by rustc:\n");
983983
println!(" {} {}", padded("name"), "sub-lints");
984984
println!(" {} {}", padded("----"), "---------");
985-
println!(" {} {}", padded("warnings"), "all built-in lints");
985+
println!(" {} {}", padded("warnings"), "all lints that are set to issue warnings");
986986

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

0 commit comments

Comments
 (0)