X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Foverlap-marker-trait.stderr;h=15ebcd17b0dbc7d37170d79bf40d99846a13d8fd;hb=b6801b7dcd56a272dda2fbd88ecbc5b1476d8b83;hp=a59af8dcdbcf74a22ca833c9d517784ef554618c;hpb=cb2dde63d5cdcee619ad65de79029629ccee7604;p=rust.git diff --git a/src/test/ui/overlap-marker-trait.stderr b/src/test/ui/overlap-marker-trait.stderr index a59af8dcdbc..15ebcd17b0d 100644 --- a/src/test/ui/overlap-marker-trait.stderr +++ b/src/test/ui/overlap-marker-trait.stderr @@ -1,14 +1,11 @@ error[E0277]: the trait bound `NotDebugOrDisplay: Marker` is not satisfied - --> $DIR/overlap-marker-trait.rs:30:5 - | -LL | is_marker::(); - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay` - | -note: required by `is_marker` - --> $DIR/overlap-marker-trait.rs:18:1 + --> $DIR/overlap-marker-trait.rs:30:17 | LL | fn is_marker() { } - | ^^^^^^^^^^^^^^^^^^^^^^^^^ + | --------- ------ required by this bound in `is_marker` +... +LL | is_marker::(); + | ^^^^^^^^^^^^^^^^^ the trait `Marker` is not implemented for `NotDebugOrDisplay` error: aborting due to previous error