Ignore NLL migrate mode test in the Polonius compare-mode
This is test specific to the NLL migrate mode which is irrelevant to -Z polonius. It can't currently be encoded depending on migrate-mode and NLL/Polonius mode, so the NLL compare-mode also ignores it.
This commit is contained in:
parent
273f42b596
commit
c442dae5b8
3 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
warning[E0507]: cannot move out of `foo` in pattern guard
|
||||
--> $DIR/borrowck-migrate-to-nll.rs:25:18
|
||||
--> $DIR/borrowck-migrate-to-nll.rs:26:18
|
||||
|
|
||||
LL | (|| { let bar = foo; bar.take() })();
|
||||
| ^^ ---
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
// just ignore it instead:
|
||||
|
||||
// ignore-compare-mode-nll
|
||||
// ignore-compare-mode-polonius
|
||||
|
||||
// revisions: zflag edition
|
||||
//[zflag]compile-flags: -Z borrowck=migrate
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
warning[E0507]: cannot move out of `foo` in pattern guard
|
||||
--> $DIR/borrowck-migrate-to-nll.rs:25:18
|
||||
--> $DIR/borrowck-migrate-to-nll.rs:26:18
|
||||
|
|
||||
LL | (|| { let bar = foo; bar.take() })();
|
||||
| ^^ ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue