aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/cfg/packed_sneaky-span-issue-2.stderr
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-02-24 11:40:40 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-02-24 11:40:40 +0000
commit73bddac7fe5f72bd4dd18fe1c75bb2aedec826b3 (patch)
treeaa583765ea0c0fd8bddb46d99bb04eae1334edd3 /tests/ui/cfg/packed_sneaky-span-issue-2.stderr
parente0f6db25e95895f9c50347c4010b2ea0d1fb917a (diff)
parent3e9a78f8a652042b466f19f7cfd9a72c7e6967c0 (diff)
downloadpin-project-73bddac7fe5f72bd4dd18fe1c75bb2aedec826b3.tar.gz
Upgrade rust/crates/pin-project to 1.0.5 am: c1311073c0 am: 839279b456 am: 60a03099d2 am: 3e9a78f8a6
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1581962 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I16859831071921a72781e55ff01246fc92478390
Diffstat (limited to 'tests/ui/cfg/packed_sneaky-span-issue-2.stderr')
-rw-r--r--tests/ui/cfg/packed_sneaky-span-issue-2.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/cfg/packed_sneaky-span-issue-2.stderr b/tests/ui/cfg/packed_sneaky-span-issue-2.stderr
index f4d7dee..a957ceb 100644
--- a/tests/ui/cfg/packed_sneaky-span-issue-2.stderr
+++ b/tests/ui/cfg/packed_sneaky-span-issue-2.stderr
@@ -1 +1,11 @@
error: #[pin_project] attribute 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 | | }
+ | |_^