fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

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