error: this conflicts with another representation hint --> $DIR/struct.rs:210:11 | 210 | #[repr(C, C)] /$RUSTUP_TOOLCHAIN/lib/rustlib/src/rust/library/core/src/mem/mod.rs:303:22 | 303 | pub const fn size_of() -> usize { | ^ required by this bound in `std::mem::size_of` error[E0277]: the trait bound `(): DynamicPaddingFree` is not satisfied --> $DIR/struct.rs:172:10 | 172 | #[derive(IntoBytes)] | ^^^^^^^^^ the trait `DynamicPaddingFree` is not implemented for `()` | = help: the following implementations were found: <() as DynamicPaddingFree> = 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 `(): DynamicPaddingFree` is not satisfied --> $DIR/struct.rs:184:10 | 184 | #[derive(IntoBytes)] | ^^^^^^^^^ the trait `DynamicPaddingFree` is not implemented for `()` | = help: the following implementations were found: <() as DynamicPaddingFree> = 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 `(): DynamicPaddingFree` is not satisfied --> $DIR/struct.rs:197:10 | 197 | #[derive(IntoBytes)] | ^^^^^^^^^ the trait `DynamicPaddingFree` is not implemented for `()` | = help: the following implementations were found: <() as DynamicPaddingFree> = 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 `(): DynamicPaddingFree` is not satisfied --> $DIR/struct.rs:260:10 | 260 | #[derive(IntoBytes)] | ^^^^^^^^^ the trait `DynamicPaddingFree` is not implemented for `()` | = help: the following implementations were found: <() as DynamicPaddingFree> = 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 `SplitAtNotKnownLayout: zerocopy_renamed::KnownLayout` is not satisfied --> $DIR/struct.rs:357:10 | 357 | #[derive(SplitAt)] | ^^^^^^^ the trait `zerocopy_renamed::KnownLayout` is not implemented for `SplitAtNotKnownLayout` | note: required by a bound in `SplitAt` --> $WORKSPACE/src/split_at.rs:63:27 | 63 | pub unsafe trait SplitAt: KnownLayout { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SplitAt` = note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `u8: SplitAt` is not satisfied --> $DIR/struct.rs:363:10 | 363 | #[derive(SplitAt, KnownLayout)] | ^^^^^^^ the trait `SplitAt` is not implemented for `u8` | = help: see issue #48214 = note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0271]: type mismatch resolving `::PointerMetadata == usize` --> $DIR/struct.rs:363:10 | 363 | #[derive(SplitAt, KnownLayout)] | ^^^^^^^ expected `()`, found `usize` | = help: see issue #48214 = note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to 32 previous errors Some errors have detailed explanations: E0271, E0277, E0692. For more information about an error, try `rustc --explain E0271`.