]> git.lizzy.rs Git - rust.git/blob - src/test/ui/coherence/coherence-blanket-conflicts-with-specific-trait.stderr
Rollup merge of #104436 - ismailmaj:add-slice-to-stack-allocated-string-comment,...
[rust.git] / src / test / ui / coherence / coherence-blanket-conflicts-with-specific-trait.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait` for type `MyType`
2   --> $DIR/coherence-blanket-conflicts-with-specific-trait.rs:20:1
3    |
4 LL | impl<T:OtherTrait> MyTrait for T {
5    | -------------------------------- first implementation here
6 ...
7 LL | impl MyTrait 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`.