2021-04-07 01:16:11 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `MyMarker`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/feature-gate-overlapping_marker_traits.rs:6:1
|
2017-12-06 08:27:47 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl<T: Display> MyMarker for T {}
|
2017-12-18 07:46:55 +00:00
|
|
|
| ------------------------------- first implementation here
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl<T: Debug> MyMarker for T {}
|
2017-12-18 07:46:55 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
|
2017-12-06 08:27:47 +00:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|