2018-08-25 04:33:58 -07:00
|
|
|
error[E0277]: the trait bound `NotDebugOrDisplay: Marker` is not satisfied
|
2022-10-27 10:11:49 +08:00
|
|
|
--> $DIR/overlap-marker-trait.rs:28:17
|
2018-08-25 04:33:58 -07:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | is_marker::<NotDebugOrDisplay>();
|
2019-09-20 11:58:20 -07:00
|
|
|
| ^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay`
|
2021-07-31 09:26:55 -07:00
|
|
|
|
|
|
|
|
note: required by a bound in `is_marker`
|
2022-10-27 10:11:49 +08:00
|
|
|
--> $DIR/overlap-marker-trait.rs:16:17
|
2021-07-31 09:26:55 -07:00
|
|
|
|
|
|
|
|
LL | fn is_marker<T: Marker>() { }
|
|
|
|
| ^^^^^^ required by this bound in `is_marker`
|
2018-08-25 04:33:58 -07:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|