1error: unsupported on types with type parameters
2  --> tests/ui-msrv/union.rs:24:10
3   |
424 | #[derive(AsBytes)]
5   |          ^^^^^^^
6   |
7   = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9error: cannot derive Unaligned with repr(align(N > 1))
10  --> tests/ui-msrv/union.rs:42:11
11   |
1242 | #[repr(C, align(2))]
13   |           ^^^^^^^^
14
15error: cannot derive Unaligned with repr(align(N > 1))
16  --> tests/ui-msrv/union.rs:58:16
17   |
1858 | #[repr(packed, align(2))]
19   |                ^^^^^^^^
20
21error: cannot derive Unaligned with repr(align(N > 1))
22  --> tests/ui-msrv/union.rs:64:18
23   |
2464 | #[repr(align(1), align(2))]
25   |                  ^^^^^^^^
26
27error: cannot derive Unaligned with repr(align(N > 1))
28  --> tests/ui-msrv/union.rs:70:8
29   |
3070 | #[repr(align(2), align(4))]
31   |        ^^^^^^^^
32
33error[E0277]: the trait bound `HasPadding<AsBytes2, true>: ShouldBe<false>` is not satisfied
34  --> tests/ui-msrv/union.rs:30:10
35   |
3630 | #[derive(AsBytes)]
37   |          ^^^^^^^ the trait `ShouldBe<false>` is not implemented for `HasPadding<AsBytes2, true>`
38   |
39   = help: the following implementations were found:
40             <HasPadding<T, VALUE> as ShouldBe<VALUE>>
41   = help: see issue #48214
42   = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
43