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