rust/src/test/ui/error-codes/E0119.stderr

13 lines
418 B
Plaintext
Raw Normal View History

2018-02-07 21:35:35 -06:00
error[E0119]: conflicting implementations of trait `MyTrait` for type `Foo`:
--> $DIR/E0119.rs:23:1
|
2018-02-22 18:42:32 -06:00
LL | impl<T> MyTrait for T {
2018-02-07 21:35:35 -06:00
| --------------------- first implementation here
...
2018-02-22 18:42:32 -06:00
LL | impl MyTrait for Foo { //~ ERROR E0119
2018-02-07 21:35:35 -06:00
| ^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Foo`
error: aborting due to previous error
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0119"