Debian Codegraph @

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

raw
1 use pin_project::pin_project;
2
3 #[pin_project]
4 struct S {
5 //~^ ERROR may not be used on structs with zero fields
6 #[cfg(any())]
7 #[pin]
8 f: u8,
9 }
10
11 fn main() {}