Update tests
This commit is contained in:
parent
2060d49c39
commit
fa72a81bea
2648 changed files with 6703 additions and 6703 deletions
|
@ -1,19 +1,19 @@
|
|||
error[E0594]: cannot assign to immutable borrowed content `*x`
|
||||
--> $DIR/enum.rs:9:5
|
||||
|
|
||||
LL | *x += 1; //~ ERROR cannot assign to immutable
|
||||
LL | *x += 1;
|
||||
| ^^^^^^^ cannot borrow as mutable
|
||||
|
||||
error[E0594]: cannot assign to immutable borrowed content `*x`
|
||||
--> $DIR/enum.rs:13:9
|
||||
|
|
||||
LL | *x += 1; //~ ERROR cannot assign to immutable
|
||||
LL | *x += 1;
|
||||
| ^^^^^^^ cannot borrow as mutable
|
||||
|
||||
error[E0594]: cannot assign to immutable borrowed content `*x`
|
||||
--> $DIR/enum.rs:19:9
|
||||
|
|
||||
LL | *x += 1; //~ ERROR cannot assign to immutable
|
||||
LL | *x += 1;
|
||||
| ^^^^^^^ cannot borrow as mutable
|
||||
|
||||
error: aborting due to 3 previous errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue