]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/generic-associated-types/construct_with_other_type.rs
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / construct_with_other_type.rs
index 2198b99db25c1d985f76bd27df24a21300f19ac6..ff9d61658f4eb2a1da4aad9ebad725cb0ce66881 100644 (file)
@@ -1,7 +1,7 @@
 #![allow(incomplete_features)]
 #![feature(generic_associated_types)]
 
-// FIXME(#30472) normalize enough to handle this.
+// check-pass
 
 use std::ops::Deref;
 
@@ -17,7 +17,6 @@ trait Baz {
 }
 
 impl<T> Baz for T where T: Foo {
-//~^ ERROR type mismatch resolving
     type Quux<'a> where T: 'a = T;
 
     type Baa<'a> where T: 'a = &'a <T as Foo>::Bar<'a, 'static>;