]> git.proxmox.com Git - rustc.git/blob - src/test/ui/overlap-marker-trait.stderr
New upstream version 1.42.0+dfsg1
[rustc.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:17
3 |
4 LL | fn is_marker<T: Marker>() { }
5 | --------- ------ required by this bound in `is_marker`
6 ...
7 LL | is_marker::<NotDebugOrDisplay>();
8 | ^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.