summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pin-project/tests/ui/cfg/packed_sneaky-span-issue-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/pin-project/tests/ui/cfg/packed_sneaky-span-issue-1.stderr')
-rw-r--r--third_party/rust/pin-project/tests/ui/cfg/packed_sneaky-span-issue-1.stderr5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/rust/pin-project/tests/ui/cfg/packed_sneaky-span-issue-1.stderr b/third_party/rust/pin-project/tests/ui/cfg/packed_sneaky-span-issue-1.stderr
new file mode 100644
index 0000000000..4f3acc3494
--- /dev/null
+++ b/third_party/rust/pin-project/tests/ui/cfg/packed_sneaky-span-issue-1.stderr
@@ -0,0 +1,5 @@
+error: #[pin_project] attribute may not be used on #[repr(packed)] types
+ --> tests/ui/cfg/packed_sneaky-span-issue-1.rs:5:15
+ |
+5 | #[hidden_repr(packed)] //~ ERROR may not be used on #[repr(packed)] types
+ | ^^^^^^