NLL: diagnostic advising statementizing a block's tail expression. #54556
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
NLL-diagnostics
Working towards the "diagnostic parity" goal
Milestone
Spawned off of #21114.
My new brain child for how to address the long standing issue of compiler error messages that seem to be "magically" resolved by adding a semi-colon is to try to improve our diagnostics so that 1. users are told up front about where adding a semi-colon might help and 2. users get an explanation as to why it matters.
The text was updated successfully, but these errors were encountered: