Skip to content

Commit

Permalink
bless ui tests in compare mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nivkner committed Dec 23, 2018
1 parent 7894717 commit e32c63e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/test/ui/borrowck/borrowck-describe-lvalue.ast.nll.stderr
Expand Up @@ -10,7 +10,7 @@ LL | *y = 1;
| ------ first borrow later used here

error[E0499]: cannot borrow `x` as mutable more than once at a time
--> $DIR/borrowck-describe-lvalue.rs:307:20
--> $DIR/borrowck-describe-lvalue.rs:306:20
|
LL | let y = &mut x;
| ------ first mutable borrow occurs here
Expand All @@ -21,7 +21,7 @@ LL | *y = 1;
| ------ first borrow later used here

error: captured variable cannot escape `FnMut` closure body
--> $DIR/borrowck-describe-lvalue.rs:305:16
--> $DIR/borrowck-describe-lvalue.rs:304:16
|
LL | || {
| - inferred to be a `FnMut` closure
Expand Down Expand Up @@ -370,7 +370,7 @@ LL | drop(x);
This warning will become a hard error in the future.

error[E0382]: use of moved value: `x`
--> $DIR/borrowck-describe-lvalue.rs:318:22
--> $DIR/borrowck-describe-lvalue.rs:317:22
|
LL | drop(x);
| - value moved here
Expand Down
2 changes: 1 addition & 1 deletion src/test/ui/issues/issue-36082.ast.nll.stderr
@@ -1,5 +1,5 @@
error[E0716]: temporary value dropped while borrowed
--> $DIR/issue-36082.rs:23:19
--> $DIR/issue-36082.rs:21:19
|
LL | let val: &_ = x.borrow().0;
| ^^^^^^^^^^ - temporary value is freed at the end of this statement
Expand Down

0 comments on commit e32c63e

Please sign in to comment.