• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error: unsupported on types with type parameters
2  --> tests/ui-msrv/struct.rs:14:10
3   |
414 | #[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:23:11
11   |
1223 | #[repr(C, align(2))]
13   |           ^^^^^^^^
14
15error: cannot derive Unaligned with repr(align(N > 1))
16  --> tests/ui-msrv/struct.rs:27:21
17   |
1827 | #[repr(transparent, align(2))]
19   |                     ^^^^^^^^
20
21error: cannot derive Unaligned with repr(align(N > 1))
22  --> tests/ui-msrv/struct.rs:33:16
23   |
2433 | #[repr(packed, align(2))]
25   |                ^^^^^^^^
26
27error: cannot derive Unaligned with repr(align(N > 1))
28  --> tests/ui-msrv/struct.rs:37:18
29   |
3037 | #[repr(align(1), align(2))]
31   |                  ^^^^^^^^
32
33error: cannot derive Unaligned with repr(align(N > 1))
34  --> tests/ui-msrv/struct.rs:41:8
35   |
3641 | #[repr(align(2), align(4))]
37   |        ^^^^^^^^
38
39error[E0692]: transparent struct cannot have other repr hints
40  --> tests/ui-msrv/struct.rs:27:8
41   |
4227 | #[repr(transparent, align(2))]
43   |        ^^^^^^^^^^^  ^^^^^^^^
44
45error[E0587]: type has conflicting packed and align representation hints
46  --> tests/ui-msrv/struct.rs:34:1
47   |
4834 | struct Unaligned3;
49   | ^^^^^^^^^^^^^^^^^^
50