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