1error: unsupported on generic structs that are not repr(transparent) or repr(packed)
2  --> tests/ui-msrv/struct.rs:55:10
3   |
455 | #[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/struct.rs:80:11
11   |
1280 | #[repr(C, align(2))]
13   |           ^^^^^^^^
14
15error: cannot derive Unaligned with repr(align(N > 1))
16  --> tests/ui-msrv/struct.rs:84:21
17   |
1884 | #[repr(transparent, align(2))]
19   |                     ^^^^^^^^
20
21error: cannot derive Unaligned with repr(align(N > 1))
22  --> tests/ui-msrv/struct.rs:90:16
23   |
2490 | #[repr(packed, align(2))]
25   |                ^^^^^^^^
26
27error: cannot derive Unaligned with repr(align(N > 1))
28  --> tests/ui-msrv/struct.rs:94:18
29   |
3094 | #[repr(align(1), align(2))]
31   |                  ^^^^^^^^
32
33error: cannot derive Unaligned with repr(align(N > 1))
34  --> tests/ui-msrv/struct.rs:98:8
35   |
3698 | #[repr(align(2), align(4))]
37   |        ^^^^^^^^
38
39error[E0692]: transparent struct cannot have other repr hints
40  --> tests/ui-msrv/struct.rs:84:8
41   |
4284 | #[repr(transparent, align(2))]
43   |        ^^^^^^^^^^^  ^^^^^^^^
44
45error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
46  --> tests/ui-msrv/struct.rs:31:10
47   |
4831 | #[derive(KnownLayout)]
49   |          ^^^^^^^^^^^ doesn't have a size known at compile-time
50   |
51   = help: within `KL00`, the trait `Sized` is not implemented for `[u8]`
52note: required because it appears within the type `KL00`
53  --> tests/ui-msrv/struct.rs:32:8
54   |
5532 | struct KL00(u8, NotKnownLayoutDst);
56   |        ^^^^
57   = help: see issue #48214
58   = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
59
60error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
61  --> tests/ui-msrv/struct.rs:36:10
62   |
6336 | #[derive(KnownLayout)]
64   |          ^^^^^^^^^^^ doesn't have a size known at compile-time
65   |
66   = help: within `KL02`, the trait `Sized` is not implemented for `[u8]`
67note: required because it appears within the type `KL02`
68  --> tests/ui-msrv/struct.rs:37:8
69   |
7037 | struct KL02(u8, [u8]);
71   |        ^^^^
72   = help: see issue #48214
73   = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
74
75error[E0277]: the trait bound `NotKnownLayoutDst: KnownLayout` is not satisfied
76  --> tests/ui-msrv/struct.rs:41:10
77   |
7841 | #[derive(KnownLayout)]
79   |          ^^^^^^^^^^^ the trait `KnownLayout` is not implemented for `NotKnownLayoutDst`
80   |
81   = help: see issue #48214
82   = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
83
84error[E0277]: the trait bound `NotKnownLayout: KnownLayout` is not satisfied
85  --> tests/ui-msrv/struct.rs:47:10
86   |
8747 | #[derive(KnownLayout)]
88   |          ^^^^^^^^^^^ the trait `KnownLayout` is not implemented for `NotKnownLayout`
89   |
90   = help: see issue #48214
91   = note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
92
93error[E0277]: the trait bound `HasPadding<AsBytes2, true>: ShouldBe<false>` is not satisfied
94  --> tests/ui-msrv/struct.rs:59:10
95   |
9659 | #[derive(AsBytes)]
97   |          ^^^^^^^ the trait `ShouldBe<false>` is not implemented for `HasPadding<AsBytes2, true>`
98   |
99   = help: the following implementations were found:
100             <HasPadding<T, VALUE> as ShouldBe<VALUE>>
101   = help: see issue #48214
102   = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
103
104error[E0277]: the trait bound `HasPadding<AsBytes3, true>: ShouldBe<false>` is not satisfied
105  --> tests/ui-msrv/struct.rs:66:10
106   |
10766 | #[derive(AsBytes)]
108   |          ^^^^^^^ the trait `ShouldBe<false>` is not implemented for `HasPadding<AsBytes3, true>`
109   |
110   = help: the following implementations were found:
111             <HasPadding<T, VALUE> as ShouldBe<VALUE>>
112   = help: see issue #48214
113   = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
114