2022-11-10 04:21:11 +00:00
|
|
|
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
|
2017-10-22 15:14:53 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | impl<S: Storage> From<S::Error> for MyError<S> {
|
2017-12-18 07:46:55 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-22 15:14:53 +00:00
|
|
|
|
|
|
|
|
= note: conflicting implementation in crate `core`:
|
2020-09-02 07:40:56 +00:00
|
|
|
- impl<T> From<T> for T;
|
2017-10-22 15:14:53 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-10-22 15:14:53 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|