X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Ftraits%2Fbound%2Fon-structs-and-enums-xc1.stderr;h=ada2445c1c96259871914cd9f06756dbb9468f3a;hb=a03d6da3ef7852cbcfcf98b7639b529b96587ca3;hp=08f0f20e7480a688acf89032a9125723a976416b;hpb=74ae20e2c6b6b2a0f839a42b0fd40cb976e7eaca;p=rust.git diff --git a/src/test/ui/traits/bound/on-structs-and-enums-xc1.stderr b/src/test/ui/traits/bound/on-structs-and-enums-xc1.stderr index 08f0f20e748..ada2445c1c9 100644 --- a/src/test/ui/traits/bound/on-structs-and-enums-xc1.stderr +++ b/src/test/ui/traits/bound/on-structs-and-enums-xc1.stderr @@ -15,7 +15,11 @@ error[E0277]: the trait bound `{integer}: Trait` is not satisfied LL | let foo = Foo { | ^^^ the trait `Trait` is not implemented for `{integer}` | - = note: required by `Foo` +note: required by `Foo` + --> $DIR/auxiliary/on_structs_and_enums_xc.rs:5:1 + | +LL | pub struct Foo { + | ^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 2 previous errors