diff options
Diffstat (limited to 'tests/ui/cfg/unsupported.rs')
-rw-r--r-- | tests/ui/cfg/unsupported.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/ui/cfg/unsupported.rs b/tests/ui/cfg/unsupported.rs index c450f6f..b950d4b 100644 --- a/tests/ui/cfg/unsupported.rs +++ b/tests/ui/cfg/unsupported.rs @@ -1,10 +1,8 @@ use pin_project::pin_project; -//~ ERROR may not be used on structs with zero fields -// span is lost. -// Refs: https://github.com/rust-lang/rust/issues/43081 #[pin_project] struct S { + //~^ ERROR may not be used on structs with zero fields #[cfg(any())] #[pin] f: u8, |