]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-blanket-conflicts-with-blanket-unimplemented.stderr
Merge commit '2bb3996244cf1b89878da9e39841e9f6bf061602' into sync_cg_clif-2022-12-14
[rust.git] / src / test / ui / coherence / coherence-blanket-conflicts-with-blanket-unimplemented.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait`
2   --> $DIR/coherence-blanket-conflicts-with-blanket-unimplemented.rs:20:1
3    |
4 LL | impl<T:Even> MyTrait for T {
5    | -------------------------- first implementation here
6 ...
7 LL | impl<T:Odd> MyTrait for T {
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.