rustc --crate-type flag should display valid values #70183
Labels
A-CLI
Area: Command-line interface (CLI) to the compiler
A-diagnostics
Area: Messages for errors, warnings, and lints
D-papercut
Diagnostics: An error or lint that needs small tweaks.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hello,
When we provide wrong value for the
--emit
flag, we will get a list of valid values. This is not the case for--crate-type
flag, which should also display valid values.The
--emit
example:The
--crate-type
example:Versions:
I have also tested this on rustc 1.42.0 and it is the same.
The text was updated successfully, but these errors were encountered: