fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
1.1 KiB32 linesraw
1error[E0119]: conflicting implementations of trait `std::convert::AsRef<Q>` for type `std::boxed::Box<Q>`:
2  --> $DIR/conflict-with-std.rs:5:1
3   |
4LL | impl AsRef<Q> for Box<Q> {
5   | ^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: conflicting implementation in crate `alloc`:
8           - impl<T> std::convert::AsRef<T> for std::boxed::Box<T>
9             where T: ?Sized;
10
11error[E0119]: conflicting implementations of trait `std::convert::From<S>` for type `S`:
12  --> $DIR/conflict-with-std.rs:12:1
13   |
14LL | impl From<S> for S {
15   | ^^^^^^^^^^^^^^^^^^
16   |
17   = note: conflicting implementation in crate `core`:
18           - impl<T> std::convert::From<T> for T;
19
20error[E0119]: conflicting implementations of trait `std::convert::TryFrom<X>` for type `X`:
21  --> $DIR/conflict-with-std.rs:19:1
22   |
23LL | impl TryFrom<X> for X {
24   | ^^^^^^^^^^^^^^^^^^^^^
25   |
26   = note: conflicting implementation in crate `core`:
27           - impl<T, U> std::convert::TryFrom<U> for T
28             where U: std::convert::Into<T>;
29
30error: aborting due to 3 previous errors
31
32For more information about this error, try `rustc --explain E0119`.