]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/coherence-projection-conflict.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / coherence-projection-conflict.rs
index 2236e71b53fff1cd7aaa516e972bbc97a88ab3a2..6d3ab32f06f43d08327af11f3d2088ae8c643935 100644 (file)
@@ -16,9 +16,9 @@ pub trait Bar {
     type Output: 'static;
 }
 
-impl Foo<i32> for i32 { } //~ ERROR E0119
+impl Foo<i32> for i32 { }
 
-impl<A:Bar> Foo<A::Output> for A { }
+impl<A:Bar> Foo<A::Output> for A { } //~ ERROR E0119
 
 impl Bar for i32 {
     type Output = i32;