aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/add-attr-to-struct.stderr
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-08-09 10:36:36 -0700
committerJoel Galenson <jgalenson@google.com>2021-08-09 10:36:36 -0700
commitc1569cc62c4d1c5daf604922102c09fed8a91eb4 (patch)
tree4ff684b6890583131074a1033210f0ac7abb1d0d /tests/ui/pin_project/add-attr-to-struct.stderr
parentb845c5fd84f50f28cd5cce350eac405562744e3b (diff)
downloadpin-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/add-attr-to-struct.stderr')
-rw-r--r--tests/ui/pin_project/add-attr-to-struct.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/pin_project/add-attr-to-struct.stderr b/tests/ui/pin_project/add-attr-to-struct.stderr
index f3ee9e4..b28559b 100644
--- a/tests/ui/pin_project/add-attr-to-struct.stderr
+++ b/tests/ui/pin_project/add-attr-to-struct.stderr
@@ -4,7 +4,7 @@ error: duplicate #[pin] attribute
7 | #[add_pin_attr(struct)] //~ ERROR duplicate #[pin] attribute
| ^^^^^^^^^^^^^^^^^^^^^^^
|
- = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
+ = note: this error originates in the attribute macro `add_pin_attr` (in Nightly builds, run with -Z macro-backtrace for more info)
error: #[pin] attribute may only be used on fields of structs or variants
--> $DIR/add-attr-to-struct.rs:13:1
@@ -12,4 +12,4 @@ error: #[pin] attribute may only be used on fields of structs or variants
13 | #[add_pin_attr(struct)] //~ ERROR #[pin] attribute may only be used on fields of structs or variants
| ^^^^^^^^^^^^^^^^^^^^^^^
|
- = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
+ = note: this error originates in the attribute macro `add_pin_attr` (in Nightly builds, run with -Z macro-backtrace for more info)