fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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