1error: #[repr(packed)] attribute should be applied to a struct or union 2 --> tests/ui/pin_project/packed-enum.rs:15:8 3 | 415 | #[repr(packed)] //~ ERROR E0517 5 | ^^^^^^ 6 7error: #[repr(packed)] attribute should be applied to a struct or union 8 --> tests/ui/pin_project/packed-enum.rs:20:8 9 | 1020 | #[repr(packed)] //~ ERROR E0517 11 | ^^^^^^ 12 13error[E0517]: attribute should be applied to a struct or union 14 --> tests/ui/pin_project/packed-enum.rs:9:8 15 | 169 | #[repr(packed)] //~ ERROR E0517 17 | ^^^^^^ 1810 | / enum E1 { 1911 | | V(()), 2012 | | } 21 | |_- not a struct or union 22 23error[E0517]: attribute should be applied to a struct or union 24 --> tests/ui/pin_project/packed-enum.rs:15:8 25 | 2615 | #[repr(packed)] //~ ERROR E0517 27 | ^^^^^^ 2816 | / enum E2 { 2917 | | V(()), 3018 | | } 31 | |_- not a struct or union 32 33error[E0517]: attribute should be applied to a struct or union 34 --> tests/ui/pin_project/packed-enum.rs:20:8 35 | 3620 | #[repr(packed)] //~ ERROR E0517 37 | ^^^^^^ 3821 | #[pin_project] 3922 | / enum E3 { 4023 | | V(()), 4124 | | } 42 | |_- not a struct or union 43