fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
564 B13 linesraw
1error[E0119]: conflicting implementations of trait `Sweet` for type `std::boxed::Box<_>`:
2  --> $DIR/coherence-overlap-issue-23516.rs:12: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 `std::boxed::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`.