Skip to content

Commit e32c63e

Browse files
committed
bless ui tests in compare mode
1 parent 7894717 commit e32c63e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/ui/borrowck/borrowck-describe-lvalue.ast.nll.stderr

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ LL | *y = 1;
1010
| ------ first borrow later used here
1111

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

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

372372
error[E0382]: use of moved value: `x`
373-
--> $DIR/borrowck-describe-lvalue.rs:318:22
373+
--> $DIR/borrowck-describe-lvalue.rs:317:22
374374
|
375375
LL | drop(x);
376376
| - value moved here

src/test/ui/issues/issue-36082.ast.nll.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error[E0716]: temporary value dropped while borrowed
2-
--> $DIR/issue-36082.rs:23:19
2+
--> $DIR/issue-36082.rs:21:19
33
|
44
LL | let val: &_ = x.borrow().0;
55
| ^^^^^^^^^^ - temporary value is freed at the end of this statement

0 commit comments

Comments
 (0)