diff options
author | Joel Galenson <jgalenson@google.com> | 2021-08-11 15:12:13 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-08-11 15:12:13 +0000 |
commit | e43f58f322631f588c014f497d29aac986311335 (patch) | |
tree | 4ff684b6890583131074a1033210f0ac7abb1d0d /tests/ui/unstable-features/trivial_bounds-feature-gate.stderr | |
parent | a5c0a13309164da22025014778cf4d794aec96a6 (diff) | |
parent | 5ca84867572d2f96230b8450e77205925f9a1848 (diff) | |
download | pin-project-e43f58f322631f588c014f497d29aac986311335.tar.gz |
Upgrade rust/crates/pin-project to 1.0.8 am: c1569cc62c am: 02a74e9451 am: 854e9fcb8c am: 5ca8486757
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1791108
Change-Id: Ic60b19fff1caa373f70662267f680ba63e0fd2bc
Diffstat (limited to 'tests/ui/unstable-features/trivial_bounds-feature-gate.stderr')
-rw-r--r-- | tests/ui/unstable-features/trivial_bounds-feature-gate.stderr | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/ui/unstable-features/trivial_bounds-feature-gate.stderr b/tests/ui/unstable-features/trivial_bounds-feature-gate.stderr index fa81083..cf3b075 100644 --- a/tests/ui/unstable-features/trivial_bounds-feature-gate.stderr +++ b/tests/ui/unstable-features/trivial_bounds-feature-gate.stderr @@ -23,7 +23,11 @@ error[E0277]: `PhantomPinned` cannot be unpinned | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unpin` is not implemented for `PhantomPinned` | = note: consider using `Box::pin` - = note: required because of the requirements on the impl of `Unpin` for `phantom_pinned::Wrapper<PhantomPinned>` +note: required because of the requirements on the impl of `Unpin` for `phantom_pinned::Wrapper<PhantomPinned>` + --> $DIR/trivial_bounds-feature-gate.rs:12:13 + | +12 | impl<T> Unpin for Wrapper<T> where T: Unpin {} + | ^^^^^ ^^^^^^^^^^ = help: see issue #48214 = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable @@ -54,6 +58,10 @@ note: required because it appears within the type `Inner` | 30 | struct Inner(PhantomPinned); | ^^^^^ - = note: required because of the requirements on the impl of `Unpin` for `inner::Wrapper<Inner>` +note: required because of the requirements on the impl of `Unpin` for `inner::Wrapper<Inner>` + --> $DIR/trivial_bounds-feature-gate.rs:38:13 + | +38 | impl<T> Unpin for Wrapper<T> where T: Unpin {} + | ^^^^^ ^^^^^^^^^^ = help: see issue #48214 = help: add `#![feature(trivial_bounds)]` to the crate attributes to enable |