blob: 1872211206385213ca29e86794eb7b14078653c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
error: #[repr(packed)] attribute should be applied to a struct or union
--> tests/ui/pin_project/packed-enum.rs:13:8
|
13 | #[repr(packed)] //~ ERROR E0517
| ^^^^^^
error: #[repr(packed)] attribute should be applied to a struct or union
--> tests/ui/pin_project/packed-enum.rs:18:8
|
18 | #[repr(packed)] //~ ERROR E0517
| ^^^^^^
error[E0517]: attribute should be applied to a struct or union
--> tests/ui/pin_project/packed-enum.rs:7:8
|
7 | #[repr(packed)] //~ ERROR E0517
| ^^^^^^
8 | / enum E1 {
9 | | V(()),
10 | | }
| |_- not a struct or union
error[E0517]: attribute should be applied to a struct or union
--> tests/ui/pin_project/packed-enum.rs:13:8
|
13 | #[repr(packed)] //~ ERROR E0517
| ^^^^^^
14 | / enum E2 {
15 | | V(()),
16 | | }
| |_- not a struct or union
error[E0517]: attribute should be applied to a struct or union
--> tests/ui/pin_project/packed-enum.rs:18:8
|
18 | #[repr(packed)] //~ ERROR E0517
| ^^^^^^
19 | #[pin_project]
20 | / enum E3 {
21 | | V(()),
22 | | }
| |_- not a struct or union
|