about summary refs log tree commit diff
path: root/src/test/ui/generator/resume-arg-late-bound.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/generator/resume-arg-late-bound.rs')
-rw-r--r--src/test/ui/generator/resume-arg-late-bound.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/ui/generator/resume-arg-late-bound.rs b/src/test/ui/generator/resume-arg-late-bound.rs
index a8f657eaabe..b973d8a300a 100644
--- a/src/test/ui/generator/resume-arg-late-bound.rs
+++ b/src/test/ui/generator/resume-arg-late-bound.rs
@@ -1,3 +1,7 @@
+// ignore-compare-mode-nll
+// revisions: base nll
+// [nll]compile-flags: -Zborrowck=mir
+
 //! Tests that we cannot produce a generator that accepts a resume argument
 //! with any lifetime and then stores it across a `yield`.
 
@@ -14,5 +18,5 @@ fn main() {
     };
     test(gen);
     //~^ ERROR mismatched types
-    //~| ERROR mismatched types
+    //[base]~^^ ERROR mismatched types
 }