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