]> git.lizzy.rs Git - rust.git/blob - src/test/ui/overlap-marker-trait.stderr
Rollup merge of #64058 - phansch:refactor_out_method, r=estebank
[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 | fn is_marker<T: Marker>() { }
5    | ------------------------- required by `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`.