]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-26217.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-26217.rs
index 05e046219090689560f741ceee2bf004e952062e..422625e73c161c88592962706bcbabe6227c9212 100644 (file)
@@ -2,7 +2,7 @@ fn foo<T>() where for<'a> T: 'a {}
 
 fn bar<'a>() {
     foo::<&'a i32>();
-    //~^ ERROR the type `&'a i32` does not fulfill the required lifetime
+    //~^ ERROR lifetime may not live long enough
 }
 
 fn main() {