]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0119.stderr
Auto merge of #106627 - Ezrashaw:no-e0711-without-staged-api, r=Mark-Simulacrum
[rust.git] / tests / ui / error-codes / E0119.stderr
1 error[E0119]: conflicting implementations of trait `MyTrait` for type `Foo`
2   --> $DIR/E0119.rs:13:1
3    |
4 LL | impl<T> MyTrait for T {
5    | --------------------- first implementation here
6 ...
7 LL | impl MyTrait for Foo {
8    | ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Foo`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.