]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generic-associated-types/impl_bounds.rs
New upstream version 1.49.0~beta.4+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / impl_bounds.rs
index 77bebc9854aa09e72ec32a73f0d28bb8a52efe7b..089a214667ea24f8ee05713f1d0b90c6dedd74c6 100644 (file)
@@ -16,6 +16,7 @@ impl<T> Foo for Fooy<T> {
     //~^ ERROR the parameter type `T` may not live long enough
     type B<'a, 'b> where 'b: 'a = (&'a(), &'b ());
     //~^ ERROR lifetime bound not satisfied
+    //~| ERROR lifetime bound not satisfied
     type C where Self: Copy = String;
     //~^ ERROR the trait bound `T: Copy` is not satisfied
 }