-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goalT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Description
Consider the output diagnostics from
rust/src/test/ui/command-line-diagnostics.nll.stderr
Lines 4 to 5 in 746d63a
LL | let x = 42; | |
| -- first assignment to `x` |
and compare them to
rust/src/test/ui/command-line-diagnostics.stderr
Lines 4 to 5 in 746d63a
LL | let x = 42; | |
| - first assignment to `x` |
I don't know why NLL deviates.
(Maybe its fine to switch to the right-hand side, but I want to make sure we do so as a deliberate choice, not an accident.)
Metadata
Metadata
Assignees
Labels
A-NLLArea: Non-lexical lifetimes (NLL)Area: Non-lexical lifetimes (NLL)C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.NLL-diagnosticsWorking towards the "diagnostic parity" goalWorking towards the "diagnostic parity" goalT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.