diff options
Diffstat (limited to 'tests/ui/cfg/packed_sneaky-span-issue-2.stderr')
-rw-r--r-- | tests/ui/cfg/packed_sneaky-span-issue-2.stderr | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tests/ui/cfg/packed_sneaky-span-issue-2.stderr b/tests/ui/cfg/packed_sneaky-span-issue-2.stderr index 25b9cdc..a957ceb 100644 --- a/tests/ui/cfg/packed_sneaky-span-issue-2.stderr +++ b/tests/ui/cfg/packed_sneaky-span-issue-2.stderr @@ -1,5 +1,11 @@ error: #[pin_project] attribute may not be used on #[repr(packed)] types - --> $DIR/packed_sneaky-span-issue-2.rs:5:15 - | -5 | #[hidden_repr(packed)] //~ ERROR may not be used on #[repr(packed)] types - | ^^^^^^ + --> $DIR/packed_sneaky-span-issue-2.rs:6:1 + | +6 | / struct S { +7 | | //~^ ERROR may not be used on #[repr(packed)] types +8 | | #[cfg(any())] +9 | | #[pin] +... | +13 | | f: u8, +14 | | } + | |_^ |