diff options
Diffstat (limited to 'tests/ui/cfg/unsupported.stderr')
-rw-r--r-- | tests/ui/cfg/unsupported.stderr | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/cfg/unsupported.stderr b/tests/ui/cfg/unsupported.stderr index 0ee8676..b3bd1ae 100644 --- a/tests/ui/cfg/unsupported.stderr +++ b/tests/ui/cfg/unsupported.stderr @@ -1 +1,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 | | } + | |_^ |