]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-close-object-into-object-5.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / regions / regions-close-object-into-object-5.rs
index 0e5fec28d19b0b086cc0388aee68d3334f598962..d534c37496d1c2f4477943af344764784282cd48 100644 (file)
@@ -1,7 +1,3 @@
-// revisions: base nll
-// ignore-compare-mode-nll
-//[nll] compile-flags: -Z borrowck=mir
-
 #![allow(warnings)]
 
 
@@ -23,10 +19,7 @@ fn f<'a, T, U>(v: Box<A<T> + 'static>) -> Box<X + 'static> {
     //~| ERROR the parameter type `T` may not live long enough
     //~| ERROR the parameter type `T` may not live long enough
     //~| ERROR the parameter type `T` may not live long enough
-    //[base]~| ERROR the parameter type `T` may not live long enough
-    //[base]~| ERROR the parameter type `T` may not live long enough
-    //[base]~| ERROR the parameter type `T` may not live long enough
-    //[nll]~| ERROR cannot return value referencing local data `*v` [E0515]
+    //~| ERROR cannot return value referencing local data `*v` [E0515]
 }
 
 fn main() {}