rust/tests/ui/error-codes/e0119/conflict-with-std.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1017 B
Plaintext
Raw Normal View History

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
|
2019-03-09 06:03:44 -06:00
LL | impl AsRef<Q> for Box<Q> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `alloc`:
- impl<T, A> AsRef<T> for Box<T, A>
where A: Allocator, T: ?Sized;
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
|
2019-03-09 06:03:44 -06:00
LL | impl From<S> for S {
| ^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `core`:
- impl<T> From<T> for T;
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
|
2019-03-09 06:03:44 -06:00
LL | impl TryFrom<X> for X {
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: conflicting implementation in crate `core`:
- impl<T, U> TryFrom<U> for T
where U: Into<T>;
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`.