NLL produces ungreat error messages with free regions #49397
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-NLL
Area: Non-lexical lifetimes (NLL)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
NLL-diagnostics
Working towards the "diagnostic parity" goal
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
NLL produces the following ungreat diagnostic message:
Note the completely unnamed free region. I'm not sure what a good solution to this is, but it's probably not what is produced right now =)
When compiling the code here https://play.rust-lang.org/?gist=b7d7c69a4eb38a108409bb34a0a6ae46&version=nightly
The text was updated successfully, but these errors were encountered: