]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/generic-associated-types/issue-74824.rs
only mark projection as ambiguous if GAT substs are constrained
[rust.git] / src / test / ui / generic-associated-types / issue-74824.rs
index 01f99fa448749fdd3a346d844e678c290dec8e73..1bbf7aac5cdabc6ff70bb90f645e3f85ccda02f8 100644 (file)
@@ -17,7 +17,6 @@ impl<T> UnsafeCopy for T {}
 fn main() {
     let b = Box::new(42usize);
     let copy = <()>::copy(&b);
-    //~^ type annotations needed
 
     let raw_b = Box::deref(&b) as *const _;
     let raw_copy = Box::deref(&copy) as *const _;