Unhelpful error message because of inner line doc #65329
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
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.
The code
I get this error:
Probably something like:
is more helpful because at least you can understand what's wrong (especially when you don't know inner doc comments).
The text was updated successfully, but these errors were encountered: