compiletest string_enum
s have no error reporting
#135392
Labels
A-compiletest
Area: The compiletest test runner
C-bug
Category: This is a bug.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
in
common.rs
:the error type being unit means if you pass an unrecognized option to any string enum flag, you get a very unhelpful error (it just prints
()
).if it was changed to the following:
you would at least get an error message that says what the unrecognized argument is.
i would file a PR myself but the build system seems to be falling apart at the seams for me.
The text was updated successfully, but these errors were encountered: