fork/rust

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

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

master
539 B13 linesraw
1error[E0119]: conflicting implementations of trait `Sweet` for type `Box<_>`
2  --> $DIR/coherence-overlap-issue-23516.rs:11:1
3   |
4LL | impl<T:Sugar> Sweet for T { }
5   | ------------------------- first implementation here
6LL | impl<U:Sugar> Sweet for Box<U> { }
7   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Box<_>`
8   |
9   = note: downstream crates may implement trait `Sugar` for type `std::boxed::Box<_>`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0119`.