2022-11-09 22:21:11 -06:00
|
|
|
error[E0119]: conflicting implementations of trait `From<MyError<_>>` for type `MyError<_>`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/so-37347311.rs:11:1
|
2017-10-22 10:14:53 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | impl<S: Storage> From<S::Error> for MyError<S> {
|
2017-12-18 01:46:55 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-22 10:14:53 -05:00
|
|
|
|
|
|
|
|
= note: conflicting implementation in crate `core`:
|
2020-09-02 02:40:56 -05:00
|
|
|
- impl<T> From<T> for T;
|
2017-10-22 10:14:53 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2017-10-22 10:14:53 -05:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|