]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/coherence-projection-conflict-orphan.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / coherence-projection-conflict-orphan.rs
index 3de79454398387338cdf8498c8a94d8383692f7b..3ed3549de89aaa214b9191d281a47429c741af58 100644 (file)
@@ -21,8 +21,8 @@ pub trait Bar {
     type Output: 'static;
 }
 
-impl Foo<i32> for i32 { } //~ ERROR E0119
+impl Foo<i32> for i32 { }
 
-impl<A:Iterator> Foo<A::Item> for A { }
+impl<A:Iterator> Foo<A::Item> for A { }  //~ ERROR E0119
 
 fn main() {}