Skip to content

NLL: diagnostic advising statementizing a block's tail expression. #54556

Closed
@pnkfelix

Description

@pnkfelix

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.

Metadata

Metadata

Assignees

Labels

A-NLLArea: Non-lexical lifetimes (NLL)NLL-diagnosticsWorking towards the "diagnostic parity" goal

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions