]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/regions/regions-bounded-method-type-parameters.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / regions / regions-bounded-method-type-parameters.rs
index 06bc1544a3807e3d55319fdb2e84fc5878b2dc7b..56e750003dae9a132c18b98ba48c4e0515c63244 100644 (file)
@@ -2,10 +2,6 @@
 // nominal types (but not on other types) and that they are type
 // checked.
 
-// revisions: base nll
-// ignore-compare-mode-nll
-//[nll] compile-flags: -Z borrowck=mir
-
 struct Foo;
 
 impl Foo {
@@ -14,8 +10,7 @@ impl Foo {
 
 fn caller<'a>(x: &isize) {
     Foo.some_method::<&'a isize>();
-    //[base]~^ ERROR does not fulfill the required lifetime
-    //[nll]~^^ ERROR lifetime may not live long enough
+    //~^ ERROR lifetime may not live long enough
 }
 
 fn main() { }