X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=tests%2Fui%2Fderives%2Fderiving-with-repr-packed-2.stderr;h=ab3646057a55cb240dc00f6a4bb0013aa4a8ad0b;hb=e7acd078f443156b95cee11759a735db1cfc796e;hp=83540739ee3d9391c7709548d33b90ff35b472ee;hpb=fba9f33c7c9b6b439aabba2625102c818e1b24ed;p=rust.git diff --git a/tests/ui/derives/deriving-with-repr-packed-2.stderr b/tests/ui/derives/deriving-with-repr-packed-2.stderr index 83540739ee3..ab3646057a5 100644 --- a/tests/ui/derives/deriving-with-repr-packed-2.stderr +++ b/tests/ui/derives/deriving-with-repr-packed-2.stderr @@ -1,5 +1,5 @@ error[E0599]: the method `clone` exists for struct `Foo`, but its trait bounds were not satisfied - --> $DIR/deriving-with-repr-packed-2.rs:20:11 + --> $DIR/deriving-with-repr-packed-2.rs:18:11 | LL | pub struct Foo(T, T, T); | ----------------- @@ -19,7 +19,7 @@ LL | _ = x.clone(); note: the following trait bounds were not satisfied: `NonCopy: Clone` `NonCopy: Copy` - --> $DIR/deriving-with-repr-packed-2.rs:7:16 + --> $DIR/deriving-with-repr-packed-2.rs:5:16 | LL | #[derive(Copy, Clone, Default, PartialEq, Eq)] | ^^^^^ unsatisfied trait bound introduced in this `derive` macro