Debian Codegraph @

third_party/rust/pin-project/tests/ui/cfg/unsupported.stderr

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