fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1017 B32 linesraw
1error[E0119]: conflicting implementations of trait `AsRef<Q>` for type `Box<Q>`
2  --> $DIR/conflict-with-std.rs:5:1
3   |
4LL | impl AsRef<Q> for Box<Q> {
5   | ^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: conflicting implementation in crate `alloc`:
8           - impl<T, A> AsRef<T> for Box<T, A>
9             where A: Allocator, T: ?Sized;
10
11error[E0119]: conflicting implementations of trait `From<S>` for type `S`
12  --> $DIR/conflict-with-std.rs:12:1
13   |
14LL | impl From<S> for S {
15   | ^^^^^^^^^^^^^^^^^^
16   |
17   = note: conflicting implementation in crate `core`:
18           - impl<T> From<T> for T;
19
20error[E0119]: conflicting implementations of trait `TryFrom<X>` for type `X`
21  --> $DIR/conflict-with-std.rs:19:1
22   |
23LL | impl TryFrom<X> for X {
24   | ^^^^^^^^^^^^^^^^^^^^^
25   |
26   = note: conflicting implementation in crate `core`:
27           - impl<T, U> TryFrom<U> for T
28             where U: Into<T>;
29
30error: aborting due to 3 previous errors
31
32For more information about this error, try `rustc --explain E0119`.