diff options
author | Joel Galenson <jgalenson@google.com> | 2021-08-11 14:55:29 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-11 14:55:29 +0000 |
commit | 5ca84867572d2f96230b8450e77205925f9a1848 (patch) | |
tree | 4ff684b6890583131074a1033210f0ac7abb1d0d /tests/ui/pin_project/add-pinned-field.stderr | |
parent | fcb335e6ca1967ccc95468d5c8ea80541c14d9ef (diff) | |
parent | 854e9fcb8c82f15786589be06db1c743ebf62319 (diff) | |
download | pin-project-5ca84867572d2f96230b8450e77205925f9a1848.tar.gz |
Upgrade rust/crates/pin-project to 1.0.8 am: c1569cc62c am: 02a74e9451 am: 854e9fcb8c
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1791108
Change-Id: Ifd1f1b380fbda0e1a27c35291b1647f644cd1ccf
Diffstat (limited to 'tests/ui/pin_project/add-pinned-field.stderr')
-rw-r--r-- | tests/ui/pin_project/add-pinned-field.stderr | 19 |
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) |