diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/marker_trait_attr/overlap-marker-trait.stderr | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/marker_trait_attr/overlap-marker-trait.stderr b/src/test/ui/marker_trait_attr/overlap-marker-trait.stderr new file mode 100644 index 000000000..1f3410597 --- /dev/null +++ b/src/test/ui/marker_trait_attr/overlap-marker-trait.stderr @@ -0,0 +1,15 @@ +error[E0277]: the trait bound `NotDebugOrDisplay: Marker` is not satisfied + --> $DIR/overlap-marker-trait.rs:27:17 + | +LL | is_marker::<NotDebugOrDisplay>(); + | ^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay` + | +note: required by a bound in `is_marker` + --> $DIR/overlap-marker-trait.rs:15:17 + | +LL | fn is_marker<T: Marker>() { } + | ^^^^^^ required by this bound in `is_marker` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0277`. |