Consider the output diagnostics from
|
LL | let x = 42; |
|
| -- first assignment to `x` |
and compare them to
|
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.)
Consider the output diagnostics from
rust/src/test/ui/command-line-diagnostics.nll.stderr
Lines 4 to 5 in 746d63a
and compare them to
rust/src/test/ui/command-line-diagnostics.stderr
Lines 4 to 5 in 746d63a
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.)