aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unstable-features/trivial_bounds-feature-gate.stderr
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-08-11 14:43:30 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-08-11 14:43:30 +0000
commit854e9fcb8c82f15786589be06db1c743ebf62319 (patch)
tree4ff684b6890583131074a1033210f0ac7abb1d0d /tests/ui/unstable-features/trivial_bounds-feature-gate.stderr
parentfcb335e6ca1967ccc95468d5c8ea80541c14d9ef (diff)
parent02a74e9451d4ea00816d0489f8aaaee4ef5f9ae6 (diff)
downloadpin-project-854e9fcb8c82f15786589be06db1c743ebf62319.tar.gz
Upgrade rust/crates/pin-project to 1.0.8 am: c1569cc62c am: 02a74e9451android-s-v2-preview-2android-s-v2-preview-1android-s-v2-beta-2android-s-v2-preview-1
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/pin-project/+/1791108 Change-Id: I26d5c7e71b70cf09c655f7cc6678f76b073d19f3
Diffstat (limited to 'tests/ui/unstable-features/trivial_bounds-feature-gate.stderr')
-rw-r--r--tests/ui/unstable-features/trivial_bounds-feature-gate.stderr12
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