File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ LL | *y = 1;
1010 | ------ first borrow later used here
1111
1212error[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 |
1515LL | let y = &mut x;
1616 | ------ first mutable borrow occurs here
@@ -21,7 +21,7 @@ LL | *y = 1;
2121 | ------ first borrow later used here
2222
2323error: captured variable cannot escape `FnMut` closure body
24- --> $DIR/borrowck-describe-lvalue.rs:305 :16
24+ --> $DIR/borrowck-describe-lvalue.rs:304 :16
2525 |
2626LL | || {
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
372372error[E0382]: use of moved value: `x`
373- --> $DIR/borrowck-describe-lvalue.rs:318 :22
373+ --> $DIR/borrowck-describe-lvalue.rs:317 :22
374374 |
375375LL | drop(x);
376376 | - value moved here
Original file line number Diff line number Diff line change 11error[E0716]: temporary value dropped while borrowed
2- --> $DIR/issue-36082.rs:23 :19
2+ --> $DIR/issue-36082.rs:21 :19
33 |
44LL | let val: &_ = x.borrow().0;
55 | ^^^^^^^^^^ - temporary value is freed at the end of this statement
You can’t perform that action at this time.
0 commit comments