]>
Commit | Line | Data |
---|---|---|
abe05a73 XL |
1 | error[E0119]: conflicting implementations of trait `std::convert::AsRef<Q>` for type `std::boxed::Box<Q>`: |
2 | --> $DIR/conflict-with-std.rs:17:1 | |
3 | | | |
ff7c6d11 XL |
4 | 17 | impl AsRef<Q> for Box<Q> { //~ ERROR conflicting implementations |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^ | |
abe05a73 XL |
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 | ||
11 | error[E0119]: conflicting implementations of trait `std::convert::From<S>` for type `S`: | |
12 | --> $DIR/conflict-with-std.rs:24:1 | |
13 | | | |
ff7c6d11 XL |
14 | 24 | impl From<S> for S { //~ ERROR conflicting implementations |
15 | | ^^^^^^^^^^^^^^^^^^ | |
abe05a73 XL |
16 | | |
17 | = note: conflicting implementation in crate `core`: | |
18 | - impl<T> std::convert::From<T> for T; | |
19 | ||
20 | error[E0119]: conflicting implementations of trait `std::convert::TryFrom<X>` for type `X`: | |
21 | --> $DIR/conflict-with-std.rs:31:1 | |
22 | | | |
ff7c6d11 XL |
23 | 31 | impl TryFrom<X> for X { //~ ERROR conflicting implementations |
24 | | ^^^^^^^^^^^^^^^^^^^^^ | |
abe05a73 XL |
25 | | |
26 | = note: conflicting implementation in crate `core`: | |
27 | - impl<T, U> std::convert::TryFrom<U> for T | |
28 | where T: std::convert::From<U>; | |
29 | ||
30 | error: aborting due to 3 previous errors | |
31 |