1 2 3 4 5 6 7 8 9 10
use packbits as _; #[packbits::pack(bytes = 1)] struct Bad { a: u8, #[bits(1)] b: u8, } fn main() {}