rust/tests/ui/feature-gates/feature-gate-overlapping_marker_traits.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
437 B
Plaintext
Raw Normal View History

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