237 lines
8.7 KiB
Plaintext
237 lines
8.7 KiB
Plaintext
warning: unused import: `zerocopy::KnownLayout`
|
|
--> tests/ui-stable/late_compile_pass.rs:15:5
|
|
|
|
|
15 | use zerocopy::KnownLayout;
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[warn(unused_imports)]` on by default
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:29:10
|
|
|
|
|
29 | #[derive(TryFromBytes)]
|
|
| ^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `zerocopy::TryFromBytes`:
|
|
()
|
|
*const T
|
|
*mut T
|
|
AU16
|
|
AtomicBool
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `TryFromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:38:10
|
|
|
|
|
38 | #[derive(FromZeros)]
|
|
| ^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `zerocopy::TryFromBytes`:
|
|
()
|
|
*const T
|
|
*mut T
|
|
AU16
|
|
AtomicBool
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:38:10
|
|
|
|
|
38 | #[derive(FromZeros)]
|
|
| ^^^^^^^^^ the trait `FromZeros` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `FromZeros`:
|
|
()
|
|
*const T
|
|
*mut T
|
|
AU16
|
|
AtomicBool
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:47:10
|
|
|
|
|
47 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `zerocopy::TryFromBytes`:
|
|
()
|
|
*const T
|
|
*mut T
|
|
AU16
|
|
AtomicBool
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:47:10
|
|
|
|
|
47 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^ the trait `FromZeros` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `FromZeros`:
|
|
()
|
|
*const T
|
|
*mut T
|
|
AU16
|
|
AtomicBool
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:47:10
|
|
|
|
|
47 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `zerocopy::FromBytes`:
|
|
()
|
|
AU16
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
AtomicI8
|
|
AtomicIsize
|
|
AtomicU16
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:56:10
|
|
|
|
|
56 | #[derive(IntoBytes)]
|
|
| ^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `zerocopy::IntoBytes`:
|
|
()
|
|
AU16
|
|
AtomicBool
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
AtomicI8
|
|
AtomicIsize
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:66:10
|
|
|
|
|
66 | #[derive(Unaligned)]
|
|
| ^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16`
|
|
|
|
|
= note: Consider adding `#[derive(Unaligned)]` to `AU16`
|
|
= help: the following other types implement trait `zerocopy::Unaligned`:
|
|
()
|
|
AtomicBool
|
|
AtomicI8
|
|
AtomicU8
|
|
Cell<T>
|
|
F32<O>
|
|
F64<O>
|
|
I128<O>
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:74:10
|
|
|
|
|
74 | #[derive(Unaligned)]
|
|
| ^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16`
|
|
|
|
|
= note: Consider adding `#[derive(Unaligned)]` to `AU16`
|
|
= help: the following other types implement trait `zerocopy::Unaligned`:
|
|
()
|
|
AtomicBool
|
|
AtomicI8
|
|
AtomicU8
|
|
Cell<T>
|
|
F32<O>
|
|
F64<O>
|
|
I128<O>
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:81:10
|
|
|
|
|
81 | #[derive(Unaligned)]
|
|
| ^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16`
|
|
|
|
|
= note: Consider adding `#[derive(Unaligned)]` to `AU16`
|
|
= help: the following other types implement trait `zerocopy::Unaligned`:
|
|
()
|
|
AtomicBool
|
|
AtomicI8
|
|
AtomicU8
|
|
Cell<T>
|
|
F32<O>
|
|
F64<O>
|
|
I128<O>
|
|
and $N others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfied
|
|
--> tests/ui-stable/late_compile_pass.rs:47:10
|
|
|
|
|
47 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy`
|
|
|
|
|
= note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy`
|
|
= help: the following other types implement trait `zerocopy::FromBytes`:
|
|
()
|
|
AU16
|
|
AtomicI16
|
|
AtomicI32
|
|
AtomicI64
|
|
AtomicI8
|
|
AtomicIsize
|
|
AtomicU16
|
|
and $N others
|
|
note: required for `FromBytes1` to implement `zerocopy::FromBytes`
|
|
--> tests/ui-stable/late_compile_pass.rs:47:10
|
|
|
|
|
47 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
|
|
note: required by a bound in `<FromBytes1 as zerocopy::TryFromBytes>::is_bit_valid::assert_is_from_bytes`
|
|
--> tests/ui-stable/late_compile_pass.rs:47:10
|
|
|
|
|
47 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^ required by this bound in `assert_is_from_bytes`
|
|
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|