1error: #[pin_project] attribute may not be used on structs with zero fields
2 --> tests/ui/cfg/unsupported.rs:4:10
3 |
44 | struct S {
5 | __________^
65 | | //~^ ERROR may not be used on structs with zero fields
76 | | #[cfg(any())]
87 | | #[pin]
98 | | f: u8,
109 | | }
11 | |_^
12