-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Closed
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Description
I downloaded the rust 1.3.0 distribution; rustc -W help says, in part:
Available lint options:
-W <foo> Warn about <foo>
-A <foo> Allow <foo>
-D <foo> Deny <foo>
-F <foo> Forbid <foo> (deny, and deny all overrides)
The documentation here for -F suggests to me that -F all would be acceptable (perhaps -W all or -A all too, perhaps). But that doesn't seem to work; rustc says:
error: unknown forbid flag: all
error: aborting due to previous error
Either adding the all group or clarifying the help output around -F would be most welcome. (It's also not immediately clear what the difference between -D and -F is, especially since -D would apparently override the presence of an earlier -F...?)
Metadata
Metadata
Assignees
Labels
A-frontendArea: Compiler frontend (errors, parsing and HIR)Area: Compiler frontend (errors, parsing and HIR)E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.