NLL: Updates to diagnostic output in test/ui.
This commit is contained in:
parent
7fd4b52b1b
commit
2d4df5b53e
31 changed files with 163 additions and 103 deletions
|
|
@ -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
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue