]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/e0119/so-37347311.stderr
f1c2b0d29742e30ddf60d1953e24e2552f618cf5
[rustc.git] / src / test / ui / error-codes / e0119 / so-37347311.stderr
1 error[E0119]: conflicting implementations of trait `std::convert::From<MyError<_>>` for type `MyError<_>`
2 --> $DIR/so-37347311.rs:11:1
3 |
4 LL | impl<S: Storage> From<S::Error> for MyError<S> {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: conflicting implementation in crate `core`:
8 - impl<T> From<T> for T;
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0119`.