File tree 4 files changed +8
-39
lines changed
4 files changed +8
-39
lines changed Original file line number Diff line number Diff line change @@ -3146,7 +3146,6 @@ ui/nll/issue-97997.rs
3146
3146
ui/nll/issue-98170.rs
3147
3147
ui/nll/issue-98589-closures-relate-named-regions.rs
3148
3148
ui/nll/issue-98693.rs
3149
- ui/nll/polonius/issue-46589.rs
3150
3149
ui/nll/relate_tys/issue-48071.rs
3151
3150
ui/nll/ty-outlives/issue-53789-1.rs
3152
3151
ui/nll/ty-outlives/issue-53789-2.rs
Original file line number Diff line number Diff line change 1
1
error[E0499]: cannot borrow `**other` as mutable more than once at a time
2
- --> $DIR/issue-46589.rs:23 :21
2
+ --> $DIR/issue-46589.rs:24 :21
3
3
|
4
4
LL | *other = match (*other).get_self() {
5
5
| -------- first mutable borrow occurs here
Original file line number Diff line number Diff line change 1
- // This tests passes in Polonius mode, so is skipped in the automated compare-mode.
2
- // We will manually check it passes in Polonius tests, as we can't have a test here
3
- // which conditionally passes depending on a test revision/compile-flags.
4
-
5
- //@ ignore-compare-mode-polonius
1
+ //@ ignore-compare-mode-polonius (explicit revisions)
2
+ //@ revisions: nll polonius_next polonius
3
+ //@ [polonius_next] check-pass
4
+ //@ [polonius_next] compile-flags: -Zpolonius=next
5
+ //@ [polonius] check-pass
6
+ //@ [polonius] compile-flags: -Zpolonius
6
7
7
8
struct Foo ;
8
9
@@ -21,7 +22,7 @@ impl Foo {
21
22
* other = match ( * other) . get_self ( ) {
22
23
Some ( s) => s,
23
24
None => ( * other) . new_self ( )
24
- //~^ ERROR cannot borrow `**other` as mutable more than once at a time [E0499]
25
+ //[nll] ~^ ERROR cannot borrow `**other` as mutable more than once at a time [E0499]
25
26
} ;
26
27
27
28
let c = other;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments