| error: unsupported on types with type parameters |
| --> $DIR/struct.rs:14:10 |
| | |
| 14 | #[derive(AsBytes)] |
| | ^^^^^^^ |
| |
| error: cannot derive Unaligned with repr(align(N > 1)) |
| --> $DIR/struct.rs:23:11 |
| | |
| 23 | #[repr(C, align(2))] |
| | ^^^^^^^^ |
| |
| error: cannot derive Unaligned with repr(align(N > 1)) |
| --> $DIR/struct.rs:27:21 |
| | |
| 27 | #[repr(transparent, align(2))] |
| | ^^^^^^^^ |
| |
| error: cannot derive Unaligned with repr(align(N > 1)) |
| --> $DIR/struct.rs:33:16 |
| | |
| 33 | #[repr(packed, align(2))] |
| | ^^^^^^^^ |
| |
| error: cannot derive Unaligned with repr(align(N > 1)) |
| --> $DIR/struct.rs:37:18 |
| | |
| 37 | #[repr(align(1), align(2))] |
| | ^^^^^^^^ |
| |
| error: cannot derive Unaligned with repr(align(N > 1)) |
| --> $DIR/struct.rs:41:8 |
| | |
| 41 | #[repr(align(2), align(4))] |
| | ^^^^^^^^ |
| |
| error[E0692]: transparent struct cannot have other repr hints |
| --> $DIR/struct.rs:27:8 |
| | |
| 27 | #[repr(transparent, align(2))] |
| | ^^^^^^^^^^^ ^^^^^^^^ |
| |
| error[E0587]: type has conflicting packed and align representation hints |
| --> $DIR/struct.rs:34:1 |
| | |
| 34 | struct Unaligned3; |
| | ^^^^^^^^^^^^^^^^^^ |
| |
| error: aborting due to 8 previous errors |
| |
| Some errors have detailed explanations: E0587, E0692. |
| For more information about an error, try `rustc --explain E0587`. |