]> git.lizzy.rs Git - rust.git/blob - src/test/ui/overlap-marker-trait.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / overlap-marker-trait.stderr
1 error[E0277]: the trait bound `NotDebugOrDisplay: Marker` is not satisfied
2   --> $DIR/overlap-marker-trait.rs:30:5
3    |
4 LL |     is_marker::<NotDebugOrDisplay>(); //~ ERROR
5    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay`
6    |
7 note: required by `is_marker`
8   --> $DIR/overlap-marker-trait.rs:18:1
9    |
10 LL | fn is_marker<T: Marker>() { }
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.