aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pin_project/add-pinned-field.stderr
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-08-11 15:28:27 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-11 15:28:27 +0000
commitacc9e53a5671101733055621a10922e8beaef0ae (patch)
tree4ff684b6890583131074a1033210f0ac7abb1d0d /tests/ui/pin_project/add-pinned-field.stderr
parent8fe66ec544959e0a124ade3d211c902a23feb2cf (diff)
parente43f58f322631f588c014f497d29aac986311335 (diff)
downloadpin-project-acc9e53a5671101733055621a10922e8beaef0ae.tar.gz
Upgrade rust/crates/pin-project to 1.0.8 am: c1569cc62c am: 02a74e9451 am: 854e9fcb8c am: 5ca8486757 am: e43f58f322
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1791108 Change-Id: I215366d9bccdb5a1458563c3bcb51784049e270d
Diffstat (limited to 'tests/ui/pin_project/add-pinned-field.stderr')
-rw-r--r--tests/ui/pin_project/add-pinned-field.stderr19
1 files changed, 17 insertions, 2 deletions
diff --git a/tests/ui/pin_project/add-pinned-field.stderr b/tests/ui/pin_project/add-pinned-field.stderr
index a391f3b..bdeafb8 100644
--- a/tests/ui/pin_project/add-pinned-field.stderr
+++ b/tests/ui/pin_project/add-pinned-field.stderr
@@ -13,7 +13,15 @@ note: required because it appears within the type `__Foo<'_>`
|
8 | struct Foo {
| ^^^
- = note: required because of the requirements on the impl of `Unpin` for `Foo`
+note: required because of the requirements on the impl of `Unpin` for `Foo`
+ --> $DIR/add-pinned-field.rs:6:1
+ |
+6 | #[pin_project]
+ | ^^^^^^^^^^^^^^
+7 | #[add_pinned_field]
+8 | struct Foo {
+ | ^^^
+ = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: `PhantomPinned` cannot be unpinned
--> $DIR/add-pinned-field.rs:22:5
@@ -30,4 +38,11 @@ note: required because it appears within the type `__Bar<'_>`
|
15 | struct Bar {
| ^^^
- = note: required because of the requirements on the impl of `Unpin` for `Bar`
+note: required because of the requirements on the impl of `Unpin` for `Bar`
+ --> $DIR/add-pinned-field.rs:14:1
+ |
+14 | #[pin_project]
+ | ^^^^^^^^^^^^^^
+15 | struct Bar {
+ | ^^^
+ = note: this error originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` (in Nightly builds, run with -Z macro-backtrace for more info)