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