1error: #[pin_project] attribute may not be used on structs with zero fields
2 --> $DIR/unsupported.rs:4:1
3 |
44 | / struct S {
55 | | //~^ ERROR may not be used on structs with zero fields
66 | | #[cfg(any())]
77 | | #[pin]
88 | | f: u8,
99 | | }
10 | |_^
11