2017-12-10 13:47:55 -06:00
|
|
|
error[E0119]: conflicting implementations of trait `Sweet` for type `std::boxed::Box<_>`:
|
2017-12-10 14:29:24 -06:00
|
|
|
--> $DIR/coherence-overlap-issue-23516.rs:18:1
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
|
17 | impl<T:Sugar> Sweet for T { }
|
2017-12-18 01:46:55 -06:00
|
|
|
| ------------------------- first implementation here
|
2017-12-10 14:29:24 -06:00
|
|
|
18 | impl<U:Sugar> Sweet for Box<U> { }
|
2017-12-18 01:46:55 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `std::boxed::Box<_>`
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
|
= note: downstream crates may implement trait `Sugar` for type `std::boxed::Box<_>`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|