diff options
Diffstat (limited to 'tests/ui-stable/derive_transparent.stderr')
-rw-r--r-- | tests/ui-stable/derive_transparent.stderr | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/tests/ui-stable/derive_transparent.stderr b/tests/ui-stable/derive_transparent.stderr index 3810def..f24dd48 100644 --- a/tests/ui-stable/derive_transparent.stderr +++ b/tests/ui-stable/derive_transparent.stderr @@ -1,111 +1,111 @@ error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied - --> tests/ui-stable/derive_transparent.rs:33:18 + --> tests/ui-stable/derive_transparent.rs:37:18 | -33 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes); +37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromZeroes`: - () - AU16 - F32<O> - F64<O> - I128<O> - I16<O> - I32<O> - I64<O> + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others note: required for `TransparentStruct<NotZerocopy>` to implement `FromZeroes` - --> tests/ui-stable/derive_transparent.rs:23:19 + --> tests/ui-stable/derive_transparent.rs:27:19 | -23 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] +27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] | ^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro note: required by a bound in `_::{closure#0}::assert_impl_all` - --> tests/ui-stable/derive_transparent.rs:33:1 + --> tests/ui-stable/derive_transparent.rs:37:1 | -33 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes); +37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` = note: this error originates in the derive macro `FromZeroes` which comes from the expansion of the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied - --> tests/ui-stable/derive_transparent.rs:34:18 + --> tests/ui-stable/derive_transparent.rs:38:18 | -34 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes); +38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromBytes`: - () - AU16 - F32<O> - F64<O> - I128<O> - I16<O> - I32<O> - I64<O> + isize + i8 + i16 + i32 + i64 + i128 + usize + u8 and $N others note: required for `TransparentStruct<NotZerocopy>` to implement `FromBytes` - --> tests/ui-stable/derive_transparent.rs:23:31 + --> tests/ui-stable/derive_transparent.rs:27:31 | -23 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] +27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro note: required by a bound in `_::{closure#0}::assert_impl_all` - --> tests/ui-stable/derive_transparent.rs:34:1 + --> tests/ui-stable/derive_transparent.rs:38:1 | -34 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes); +38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` = note: this error originates in the derive macro `FromBytes` which comes from the expansion of the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied - --> tests/ui-stable/derive_transparent.rs:35:18 + --> tests/ui-stable/derive_transparent.rs:39:18 | -35 | assert_impl_all!(TransparentStruct<NotZerocopy>: AsBytes); +39 | assert_impl_all!(TransparentStruct<NotZerocopy>: AsBytes); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `AsBytes`: - () - AU16 - F32<O> - F64<O> - I128<O> - I16<O> - I32<O> - I64<O> + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others note: required for `TransparentStruct<NotZerocopy>` to implement `AsBytes` - --> tests/ui-stable/derive_transparent.rs:23:10 + --> tests/ui-stable/derive_transparent.rs:27:10 | -23 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] +27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] | ^^^^^^^ unsatisfied trait bound introduced in this `derive` macro note: required by a bound in `_::{closure#0}::assert_impl_all` - --> tests/ui-stable/derive_transparent.rs:35:1 + --> tests/ui-stable/derive_transparent.rs:39:1 | -35 | assert_impl_all!(TransparentStruct<NotZerocopy>: AsBytes); +39 | assert_impl_all!(TransparentStruct<NotZerocopy>: AsBytes); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` = note: this error originates in the derive macro `AsBytes` which comes from the expansion of the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `NotZerocopy: Unaligned` is not satisfied - --> tests/ui-stable/derive_transparent.rs:36:18 + --> tests/ui-stable/derive_transparent.rs:40:18 | -36 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned); +40 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unaligned` is not implemented for `NotZerocopy` | = help: the following other types implement trait `Unaligned`: - () - F32<O> - F64<O> - I128<O> - I16<O> - I32<O> - I64<O> - ManuallyDrop<T> + bool + i8 + u8 + TransparentStruct<T> + U16<O> + U32<O> + U64<O> + U128<O> and $N others note: required for `TransparentStruct<NotZerocopy>` to implement `Unaligned` - --> tests/ui-stable/derive_transparent.rs:23:42 + --> tests/ui-stable/derive_transparent.rs:27:42 | -23 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] +27 | #[derive(AsBytes, FromZeroes, FromBytes, Unaligned)] | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro note: required by a bound in `_::{closure#0}::assert_impl_all` - --> tests/ui-stable/derive_transparent.rs:36:1 + --> tests/ui-stable/derive_transparent.rs:40:1 | -36 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned); +40 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all` = note: this error originates in the derive macro `Unaligned` which comes from the expansion of the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) |