Skip to content

Commit c0c3c00

Browse files
committed
Update tests for restrictive two-phase borrows
1 parent f8e2beb commit c0c3c00

File tree

3 files changed

+1
-124
lines changed

3 files changed

+1
-124
lines changed

src/test/ui/borrowck/two-phase-cannot-nest-mut-self-calls.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ LL | vec.get({
77
| immutable borrow occurs here
88
LL |
99
LL | vec.push(2);
10-
| ^^^^^^^^^^^ mutable borrow occurs here
10+
| ^^^ mutable borrow occurs here
1111

1212
error: aborting due to previous error
1313

src/test/ui/nll/get_default.nll.stderr

Lines changed: 0 additions & 84 deletions
This file was deleted.

src/test/ui/nll/region-ends-after-if-condition.nll.stderr

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)