2022-11-10 04:21:11 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `AsRef<Q>` for type `Box<Q>`
|
2019-04-22 17:30:54 +01:00
|
|
|
--> $DIR/conflict-with-std.rs:5:1
|
2017-10-22 23:14:53 +08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | impl AsRef<Q> for Box<Q> {
|
2017-12-17 23:46:55 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-10-22 23:14:53 +08:00
|
|
|
|
|
|
|
|
= note: conflicting implementation in crate `alloc`:
|
2020-10-06 16:37:23 +02:00
|
|
|
- impl<T, A> AsRef<T> for Box<T, A>
|
2020-12-04 14:47:15 +01:00
|
|
|
where A: Allocator, T: ?Sized;
|
2017-10-22 23:14:53 +08:00
|
|
|
|
2022-11-10 04:21:11 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `From<S>` for type `S`
|
2019-04-22 17:30:54 +01:00
|
|
|
--> $DIR/conflict-with-std.rs:12:1
|
2017-10-22 23:14:53 +08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | impl From<S> for S {
|
2017-12-17 23:46:55 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^
|
2017-10-22 23:14:53 +08:00
|
|
|
|
|
|
|
|
= note: conflicting implementation in crate `core`:
|
2020-09-02 10:40:56 +03:00
|
|
|
- impl<T> From<T> for T;
|
2017-10-22 23:14:53 +08:00
|
|
|
|
2022-11-10 04:21:11 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `TryFrom<X>` for type `X`
|
2019-04-22 17:30:54 +01:00
|
|
|
--> $DIR/conflict-with-std.rs:19:1
|
2017-10-22 23:14:53 +08:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | impl TryFrom<X> for X {
|
2017-12-17 23:46:55 -08:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2017-10-22 23:14:53 +08:00
|
|
|
|
|
|
|
|
= note: conflicting implementation in crate `core`:
|
2020-09-02 10:40:56 +03:00
|
|
|
- impl<T, U> TryFrom<U> for T
|
|
|
|
where U: Into<T>;
|
2017-10-22 23:14:53 +08:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|