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