rust/tests/ui/error-codes/e0119/so-37347311.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
440 B
Plaintext
Raw Normal View History

error[E0119]: conflicting implementations of trait `From<MyError<_>>` for type `MyError<_>`
2018-12-25 15:56:47 +00:00
--> $DIR/so-37347311.rs:11:1
|
2019-03-09 12:03:44 +00:00
LL | impl<S: Storage> From<S::Error> for MyError<S> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `core`:
- impl<T> From<T> for T;
error: aborting due to 1 previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0119`.