blob: abe3ecdef8a50ad80cd143eba3af5ad64e716024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: #[pin_project] attribute may not be used on #[repr(packed)] types
--> $DIR/packed_sneaky-span-issue-1.rs:6:1
|
6 | / struct S {
7 | | //~^ ERROR may not be used on #[repr(packed)] types
8 | | #[cfg(not(any()))]
9 | | #[pin]
... |
13 | | f: u8,
14 | | }
| |_^
|