]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-overlapping_marker_traits.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-overlapping_marker_traits.stderr
1 error[E0119]: conflicting implementations of trait `MyMarker`
2   --> $DIR/feature-gate-overlapping_marker_traits.rs:6:1
3    |
4 LL | impl<T: Display> MyMarker for T {}
5    | ------------------------------- first implementation here
6 LL | impl<T: Debug> MyMarker for T {}
7    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0119`.