1error: #[repr(packed)] attribute should be applied to a struct or union
2  --> tests/ui/pin_project/packed-enum.rs:13:8
3   |
413 | #[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:18:8
9   |
1018 | #[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:7:8
15   |
167  |   #[repr(packed)] //~ ERROR E0517
17   |          ^^^^^^
188  | / enum E1 {
199  | |     V(()),
2010 | | }
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:13:8
25   |
2613 |   #[repr(packed)] //~ ERROR E0517
27   |          ^^^^^^
2814 | / enum E2 {
2915 | |     V(()),
3016 | | }
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:18:8
35   |
3618 |   #[repr(packed)] //~ ERROR E0517
37   |          ^^^^^^
3819 |   #[pin_project]
3920 | / enum E3 {
4021 | |     V(()),
4122 | | }
42   | |_- not a struct or union
43