diff options
Diffstat (limited to 'src/test/ui/coherence/coherence-projection-conflict.rs')
-rw-r--r-- | src/test/ui/coherence/coherence-projection-conflict.rs | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/test/ui/coherence/coherence-projection-conflict.rs b/src/test/ui/coherence/coherence-projection-conflict.rs deleted file mode 100644 index daab2a2f8..000000000 --- a/src/test/ui/coherence/coherence-projection-conflict.rs +++ /dev/null @@ -1,18 +0,0 @@ -use std::marker::PhantomData; - -pub trait Foo<P> { fn foo() {} } - -pub trait Bar { - type Output: 'static; -} - -impl Foo<i32> for i32 { } - -impl<A:Bar> Foo<A::Output> for A { } -//~^ ERROR E0119 - -impl Bar for i32 { - type Output = i32; -} - -fn main() {} |