2022-11-10 04:21:11 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Sweet` for type `Box<_>`
|
2023-09-20 19:41:19 +00:00
|
|
|
--> $DIR/coherence-overlap-issue-23516.rs:11:1
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl<T:Sugar> Sweet for T { }
|
2017-12-18 07:46:55 +00:00
|
|
|
| ------------------------- first implementation here
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl<U:Sugar> Sweet for Box<U> { }
|
2022-11-10 04:21:11 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `Box<_>`
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
|
|
|
= note: downstream crates may implement trait `Sugar` for type `std::boxed::Box<_>`
|
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|