]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generic-associated-types/issue-86483.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / issue-86483.rs
index a8b54c354e3f3e35afb1365be8f81627f7cd3039..07dd0bffd4685900d5db37878e472cc05fea3fb7 100644 (file)
@@ -1,14 +1,16 @@
 // Regression test of #86483.
+//
+// Made to pass as part of fixing #98095.
+//
+// check-pass
 
 #![feature(generic_associated_types)]
 
-pub trait IceIce<T> //~ ERROR: the parameter type `T` may not live long enough
+pub trait IceIce<T>
 where
     for<'a> T: 'a,
 {
     type Ice<'v>: IntoIterator<Item = &'v T>;
-    //~^ ERROR: the parameter type `T` may not live long enough
-    //~| ERROR: the parameter type `T` may not live long enough
 }
 
 fn main() {}