]> git.proxmox.com Git - rustc.git/blob - tests/ui/coherence/coherence-projection-conflict.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / coherence / coherence-projection-conflict.stderr
1 error[E0119]: conflicting implementations of trait `Foo<i32>` for type `i32`
2 --> $DIR/coherence-projection-conflict.rs:11:1
3 |
4 LL | impl Foo<i32> for i32 { }
5 | --------------------- first implementation here
6 LL |
7 LL | impl<A:Bar> Foo<A::Output> for A { }
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `i32`
9
10 error: aborting due to 1 previous error
11
12 For more information about this error, try `rustc --explain E0119`.