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