unhelpful "expected item" error when putting let binding outside of function #61764
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-parser
Area: The lexing & parsing of Rust source code to an AST
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
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.
Could we have some suggestions what kind of item should be put there? :)
Also there seems to be no error code which is strange..
rustc 1.37.0-nightly (02564de47 2019-06-10)
The text was updated successfully, but these errors were encountered: