1
Fork 0

Update UI tests

This commit is contained in:
Vadim Petrochenkov 2018-02-23 03:42:32 +03:00
parent cdbd8c2f2a
commit fa2d9fc4b9
1200 changed files with 6168 additions and 6168 deletions

View file

@ -1,25 +1,25 @@
error[E0594]: cannot assign to immutable borrowed content `*x`
--> $DIR/enum.rs:21:5
|
20 | let Wrap(x) = &Wrap(3);
LL | let Wrap(x) = &Wrap(3);
| - consider changing this to `x`
21 | *x += 1; //~ ERROR cannot assign to immutable
LL | *x += 1; //~ ERROR cannot assign to immutable
| ^^^^^^^ cannot borrow as mutable
error[E0594]: cannot assign to immutable borrowed content `*x`
--> $DIR/enum.rs:25:9
|
24 | if let Some(x) = &Some(3) {
LL | if let Some(x) = &Some(3) {
| - consider changing this to `x`
25 | *x += 1; //~ ERROR cannot assign to immutable
LL | *x += 1; //~ ERROR cannot assign to immutable
| ^^^^^^^ cannot borrow as mutable
error[E0594]: cannot assign to immutable borrowed content `*x`
--> $DIR/enum.rs:31:9
|
30 | while let Some(x) = &Some(3) {
LL | while let Some(x) = &Some(3) {
| - consider changing this to `x`
31 | *x += 1; //~ ERROR cannot assign to immutable
LL | *x += 1; //~ ERROR cannot assign to immutable
| ^^^^^^^ cannot borrow as mutable
error: aborting due to 3 previous errors