rustc build: Pretty bad error message when there is a syntax error in an flt file #137223
Labels
A-contributor-roadblock
Area: Makes things more difficult for new or seasoned contributors to Rust
A-diagnostics
Area: Messages for errors, warnings, and lints
A-translation
Area: Translation infrastructure, and migrating existing diagnostics to SessionDiagnostic
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried putting this in an flt file:
The error I got during the build for that is:
The error is very clear about the fact that the problem is on line 3. That's wrong though, the problem is on line 5 -- the
.label
must be defined like this:Cc @davidtwco
The text was updated successfully, but these errors were encountered: