Unhelpful error message not pointing to the issue #119665
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The parsing of Rust source code to an AST
D-newcomer-roadblock
Diagnostics: Confusing error or lint; hard to understand for new users.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
Rationale and extra context
I was just been asked about this in not too much complicated code, and we was both thinking, why
join
does not work, if there needs to be someuse ...
to bring it to the scope.When I tried to write the simplified example I got much better error. (
help: use `=` if you meant to assign
)Other cases
Anything else?
No response
The text was updated successfully, but these errors were encountered: