]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-blanket-conflicts-with-specific-multidispatch.stderr
Rollup merge of #103065 - aDotInTheVoid:rdj-arg-pattern, r=GuillaumeGomez
[rust.git] / src / test / ui / coherence / coherence-blanket-conflicts-with-specific-multidispatch.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait<MyType>` for type `MyType`
2   --> $DIR/coherence-blanket-conflicts-with-specific-multidispatch.rs:22:1
3    |
4 LL | impl<T> MyTrait<T> for T {
5    | ------------------------ first implementation here
6 ...
7 LL | impl MyTrait<MyType> for MyType {
8    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `MyType`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.