blob: e69450ef9ac81ba24ae8f3e67a4a78a1fe10be59 [file] [log] [blame]
error: unsupported on types with type parameters
--> tests/ui-msrv/union.rs:33:10
|
33 | #[derive(IntoBytes)]
| ^^^^^^^^^
|
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
error: cannot derive Unaligned with repr(align(N > 1))
--> tests/ui-msrv/union.rs:51:11
|
51 | #[repr(C, align(2))]
| ^^^^^^^^
error: cannot derive Unaligned with repr(align(N > 1))
--> tests/ui-msrv/union.rs:67:16
|
67 | #[repr(packed, align(2))]
| ^^^^^^^^
error: cannot derive Unaligned with repr(align(N > 1))
--> tests/ui-msrv/union.rs:73:18
|
73 | #[repr(align(1), align(2))]
| ^^^^^^^^
error: cannot derive Unaligned with repr(align(N > 1))
--> tests/ui-msrv/union.rs:79:8
|
79 | #[repr(align(2), align(4))]
| ^^^^^^^^
error[E0277]: the trait bound `UnsafeCell<()>: NoCell` is not satisfied
--> tests/ui-msrv/union.rs:24:10
|
24 | #[derive(NoCell)]
| ^^^^^^ the trait `NoCell` is not implemented for `UnsafeCell<()>`
|
= note: required because of the requirements on the impl of `NoCell` for `ManuallyDrop<UnsafeCell<()>>`
= help: see issue #48214
= note: this error originates in the derive macro `NoCell` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `HasPadding<IntoBytes2, true>: ShouldBe<false>` is not satisfied
--> tests/ui-msrv/union.rs:39:10
|
39 | #[derive(IntoBytes)]
| ^^^^^^^^^ the trait `ShouldBe<false>` is not implemented for `HasPadding<IntoBytes2, true>`
|
= help: the following implementations were found:
<HasPadding<T, VALUE> as ShouldBe<VALUE>>
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)