Closed
Description
rustc -W help
mentions:
Lint groups provided by rustc:
name sub-lints
---- ---------
bad-style non-camel-case-types, non-snake-case, non-upper-case-globals
unused unused-imports, unused-variables, unused-assignments, dead-code, unused-mut, unreachable-code, unused-must-use, unused-unsafe, path-statements, unused-attributes
There's another lint group, warnings
, which turns off all builtin lints. We should mention it in this list (preferably at the top), or in another line below.
Relevant code:
rust/src/librustc_driver/lib.rs
Line 670 in ac0e845
If you wish to make it appear in the table, ensure that max_name_len
takes the presence of warnings
into account too. Instead of listing the lints for the second column, add some text along the lines of "all builtin lints".