]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0592]: duplicate definitions with name `dummy` |
781aab86 | 2 | --> $DIR/coherence-overlap-issue-23516-inherent.rs:12:25 |
ff7c6d11 | 3 | | |
0531ce1d | 4 | LL | impl<T:Sugar> Cake<T> { fn dummy(&self) { } } |
3dfed10e | 5 | | ^^^^^^^^^^^^^^^ duplicate definitions for `dummy` |
60c5eb7d | 6 | LL | |
0531ce1d | 7 | LL | impl<U:Sugar> Cake<Box<U>> { fn dummy(&self) { } } |
3dfed10e | 8 | | --------------- other definition for `dummy` |
ff7c6d11 XL |
9 | | |
10 | = note: downstream crates may implement trait `Sugar` for type `std::boxed::Box<_>` | |
11 | ||
4b012472 | 12 | error: aborting due to 1 previous error |
ff7c6d11 | 13 | |
dc9dc135 | 14 | For more information about this error, try `rustc --explain E0592`. |