diff options
author | Joel Galenson <jgalenson@google.com> | 2021-08-09 10:36:36 -0700 |
---|---|---|
committer | Joel Galenson <jgalenson@google.com> | 2021-08-09 10:36:36 -0700 |
commit | c1569cc62c4d1c5daf604922102c09fed8a91eb4 (patch) | |
tree | 4ff684b6890583131074a1033210f0ac7abb1d0d /tests/ui/pin_project/packed-name-value.stderr | |
parent | b845c5fd84f50f28cd5cce350eac405562744e3b (diff) | |
download | pin-project-c1569cc62c4d1c5daf604922102c09fed8a91eb4.tar.gz |
Upgrade rust/crates/pin-project to 1.0.8android-s-beta-5android-s-beta-5
Test: make
Change-Id: I5d34b05966fb665ac1d6a09229743a24d6927742
Diffstat (limited to 'tests/ui/pin_project/packed-name-value.stderr')
-rw-r--r-- | tests/ui/pin_project/packed-name-value.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/pin_project/packed-name-value.stderr b/tests/ui/pin_project/packed-name-value.stderr index 51b82dd..18137d4 100644 --- a/tests/ui/pin_project/packed-name-value.stderr +++ b/tests/ui/pin_project/packed-name-value.stderr @@ -9,3 +9,15 @@ error: #[repr(packed)] attribute should not be name-value pair | 21 | #[repr(packed = "")] //~ ERROR attribute should not be name-value pair | ^^^^^^^^^^^ + +error[E0693]: incorrect `repr(packed)` attribute format + --> $DIR/packed-name-value.rs:16:8 + | +16 | #[repr(packed = "")] //~ ERROR attribute should not be name-value pair + | ^^^^^^^^^^^ help: use parentheses instead: `packed()` + +error[E0693]: incorrect `repr(packed)` attribute format + --> $DIR/packed-name-value.rs:21:8 + | +21 | #[repr(packed = "")] //~ ERROR attribute should not be name-value pair + | ^^^^^^^^^^^ help: use parentheses instead: `packed()` |