aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/packed-enum.stderr
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-05-27 16:38:49 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-05-27 16:38:49 +0000
commita5c0a13309164da22025014778cf4d794aec96a6 (patch)
treea2808291a9d00789d7f23e0e6bc9e133aace307a /tests/ui/pin_project/packed-enum.stderr
parent4eafa0cc0e589d8dd142ef7d2c30718b0f9c0e5b (diff)
parentfcb335e6ca1967ccc95468d5c8ea80541c14d9ef (diff)
downloadpin-project-a5c0a13309164da22025014778cf4d794aec96a6.tar.gz
Upgrade rust/crates/pin-project to 1.0.7 am: c95dc51644 am: b845c5fd84 am: fcb335e6ca
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1713049 Change-Id: Ic50e02a253e1644202b2133a68c1b2112ea1773c
Diffstat (limited to 'tests/ui/pin_project/packed-enum.stderr')
-rw-r--r--tests/ui/pin_project/packed-enum.stderr50
1 files changed, 31 insertions, 19 deletions
diff --git a/tests/ui/pin_project/packed-enum.stderr b/tests/ui/pin_project/packed-enum.stderr
index afc8b30..0951944 100644
--- a/tests/ui/pin_project/packed-enum.stderr
+++ b/tests/ui/pin_project/packed-enum.stderr
@@ -1,30 +1,42 @@
+error: #[repr(packed)] attribute should be applied to a struct or union
+ --> $DIR/packed-enum.rs:13:8
+ |
+13 | #[repr(packed)] //~ ERROR E0517
+ | ^^^^^^
+
+error: #[repr(packed)] attribute should be applied to a struct or union
+ --> $DIR/packed-enum.rs:18:8
+ |
+18 | #[repr(packed)] //~ ERROR E0517
+ | ^^^^^^
+
error[E0517]: attribute should be applied to a struct or union
- --> $DIR/packed-enum.rs:3:8
- |
-3 | #[repr(packed)] //~ ERROR E0517
- | ^^^^^^
-4 | / enum E1 {
-5 | | V(()),
-6 | | }
- | |_- not a struct or union
+ --> $DIR/packed-enum.rs:7:8
+ |
+7 | #[repr(packed)] //~ ERROR E0517
+ | ^^^^^^
+8 | / enum E1 {
+9 | | V(()),
+10 | | }
+ | |_- not a struct or union
error[E0517]: attribute should be applied to a struct or union
- --> $DIR/packed-enum.rs:9:8
+ --> $DIR/packed-enum.rs:13:8
|
-9 | #[repr(packed)] //~ ERROR E0517
+13 | #[repr(packed)] //~ ERROR E0517
| ^^^^^^
-10 | / enum E2 {
-11 | | V(()),
-12 | | }
+14 | / enum E2 {
+15 | | V(()),
+16 | | }
| |_- not a struct or union
error[E0517]: attribute should be applied to a struct or union
- --> $DIR/packed-enum.rs:14:8
+ --> $DIR/packed-enum.rs:18:8
|
-14 | #[repr(packed)] //~ ERROR E0517
+18 | #[repr(packed)] //~ ERROR E0517
| ^^^^^^
-15 | #[pin_project]
-16 | / enum E3 {
-17 | | V(()),
-18 | | }
+19 | #[pin_project]
+20 | / enum E3 {
+21 | | V(()),
+22 | | }
| |_- not a struct or union