about summary refs log tree commit diff
path: root/src/test/ui/lifetimes/re-empty-in-error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lifetimes/re-empty-in-error.rs')
-rw-r--r--src/test/ui/lifetimes/re-empty-in-error.rs10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/test/ui/lifetimes/re-empty-in-error.rs b/src/test/ui/lifetimes/re-empty-in-error.rs
index fdb0a3002c4..554028a9669 100644
--- a/src/test/ui/lifetimes/re-empty-in-error.rs
+++ b/src/test/ui/lifetimes/re-empty-in-error.rs
@@ -1,16 +1,10 @@
-// revisions: base nll
-// ignore-compare-mode-nll
-//[nll] compile-flags: -Z borrowck=mir
-
 // We didn't have a single test mentioning
 // `ReEmpty` and this test changes that.
 fn foo<'a>(_a: &'a u32) where for<'b> &'b (): 'a {
-    //[base]~^ NOTE type must outlive the empty lifetime as required by this binding
 }
 
 fn main() {
     foo(&10);
-    //[base]~^ ERROR the type `&'b ()` does not fulfill the required lifetime
-    //[nll]~^^ ERROR higher-ranked lifetime error
-    //[nll]~| NOTE could not prove
+    //~^ ERROR higher-ranked lifetime error
+    //~| NOTE could not prove
 }