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