1 error[E0277]: the trait bound `NotDebugOrDisplay: Marker` is not satisfied
2 --> $DIR/overlap-marker-trait.rs:27:17
4 LL | is_marker::<NotDebugOrDisplay>();
5 | ^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay`
7 note: required by a bound in `is_marker`
8 --> $DIR/overlap-marker-trait.rs:15:17
10 LL | fn is_marker<T: Marker>() { }
11 | ^^^^^^ required by this bound in `is_marker`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0277`.