90 lines
5.4 KiB
Plaintext
90 lines
5.4 KiB
Plaintext
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied
|
|
--> tests/ui-msrv/derive_transparent.rs:34:1
|
|
|
|
|
34 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
note: required because of the requirements on the impl of `zerocopy::TryFromBytes` for `TransparentStruct<NotZerocopy>`
|
|
--> tests/ui-msrv/derive_transparent.rs:24:21
|
|
|
|
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
|
|
| ^^^^^^^^^
|
|
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
--> tests/ui-msrv/derive_transparent.rs:34:1
|
|
|
|
|
34 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
= note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
|
|
--> tests/ui-msrv/derive_transparent.rs:35:1
|
|
|
|
|
35 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeros` is not implemented for `NotZerocopy`
|
|
|
|
|
note: required because of the requirements on the impl of `FromZeros` for `TransparentStruct<NotZerocopy>`
|
|
--> tests/ui-msrv/derive_transparent.rs:24:21
|
|
|
|
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
|
|
| ^^^^^^^^^
|
|
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
--> tests/ui-msrv/derive_transparent.rs:35:1
|
|
|
|
|
35 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
= note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfied
|
|
--> tests/ui-msrv/derive_transparent.rs:36:1
|
|
|
|
|
36 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
note: required because of the requirements on the impl of `zerocopy::FromBytes` for `TransparentStruct<NotZerocopy>`
|
|
--> tests/ui-msrv/derive_transparent.rs:24:21
|
|
|
|
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
|
|
| ^^^^^^^^^
|
|
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
--> tests/ui-msrv/derive_transparent.rs:36:1
|
|
|
|
|
36 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
= note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied
|
|
--> tests/ui-msrv/derive_transparent.rs:37:1
|
|
|
|
|
37 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
note: required because of the requirements on the impl of `zerocopy::IntoBytes` for `TransparentStruct<NotZerocopy>`
|
|
--> tests/ui-msrv/derive_transparent.rs:24:10
|
|
|
|
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
|
|
| ^^^^^^^^^
|
|
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
--> tests/ui-msrv/derive_transparent.rs:37:1
|
|
|
|
|
37 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
= note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::Unaligned` is not satisfied
|
|
--> tests/ui-msrv/derive_transparent.rs:38:1
|
|
|
|
|
38 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `NotZerocopy`
|
|
|
|
|
note: required because of the requirements on the impl of `zerocopy::Unaligned` for `TransparentStruct<NotZerocopy>`
|
|
--> tests/ui-msrv/derive_transparent.rs:24:32
|
|
|
|
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
|
|
| ^^^^^^^^^
|
|
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
--> tests/ui-msrv/derive_transparent.rs:38:1
|
|
|
|
|
38 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
|
|
= note: this error originates in the macro `::static_assertions::assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
|