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