blob: b3bd1aeff6474bc4ba80b1c800cee7ac13b5bb69 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: #[pin_project] attribute may not be used on structs with zero fields
--> $DIR/unsupported.rs:4:1
|
4 | / struct S {
5 | | //~^ ERROR may not be used on structs with zero fields
6 | | #[cfg(any())]
7 | | #[pin]
8 | | f: u8,
9 | | }
| |_^
|