about summary refs log tree commit diff
path: root/tests/ui/error-codes/e0119/so-37347311.stderr
blob: 869b11b1909fb75c11f6b37c3297ed93f27200f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0119]: conflicting implementations of trait `From<MyError<_>>` for type `MyError<_>`
  --> $DIR/so-37347311.rs:11:1
   |
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

For more information about this error, try `rustc --explain E0119`.