Mention the warnings
lint group in rustc -W help
text
#30203
Labels
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
rustc -W help
mentions: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 ofwarnings
into account too. Instead of listing the lints for the second column, add some text along the lines of "all builtin lints".The text was updated successfully, but these errors were encountered: