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>();
|
2025-08-19 17:49:20 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
2021-07-31 09:26:55 -07:00
|
|
|
|
|
2025-08-19 17:49:20 +00:00
|
|
|
help: the trait `Marker` is not implemented for `NotDebugOrDisplay`
|
|
|
|
|
--> $DIR/overlap-marker-trait.rs:18:1
|
|
|
|
|
|
|
|
|
|
|
LL | struct 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
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-25 04:33:58 -07:00
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|