NLL: Updates to diagnostic output in test/ui.

This commit is contained in:
Felix S. Klock II 2018-06-12 18:01:48 +02:00
parent 7fd4b52b1b
commit 2d4df5b53e
31 changed files with 163 additions and 103 deletions

View file

@ -1,6 +1,8 @@
error[E0596]: cannot borrow immutable item `foo` as mutable
--> $DIR/span-covering-argument-1.rs:15:14
|
LL | let $s = 0;
| -- help: consider changing this to be mutable: `mut foo`
LL | *&mut $s = 0;
| ^^^^^^^ cannot borrow as mutable
...