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