]> git.lizzy.rs Git - rust.git/blob - tests/ui/marker_trait_attr/overlap-marker-trait.stderr
Rollup merge of #106144 - tgross35:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / marker_trait_attr / overlap-marker-trait.stderr
1 error[E0277]: the trait bound `NotDebugOrDisplay: Marker` is not satisfied
2   --> $DIR/overlap-marker-trait.rs:28:17
3    |
4 LL |     is_marker::<NotDebugOrDisplay>();
5    |                 ^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay`
6    |
7 note: required by a bound in `is_marker`
8   --> $DIR/overlap-marker-trait.rs:16:17
9    |
10 LL | fn is_marker<T: Marker>() { }
11    |                 ^^^^^^ required by this bound in `is_marker`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.