aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/unstable-features/trivial_bounds.stderr
diff options
context:
space:
mode:
authorDavid LeGare <legare@google.com>2022-03-02 16:21:12 +0000
committerDavid LeGare <legare@google.com>2022-03-02 16:21:12 +0000
commit8915193b0de5f14b58aea0cd7bd72a6083529dc2 (patch)
tree80c46c7f97eb0158db00b2c4710dd54073c36733 /tests/ui/unstable-features/trivial_bounds.stderr
parentdd72f94a2923223417a1d62cfd1873041247653a (diff)
downloadpin-project-8915193b0de5f14b58aea0cd7bd72a6083529dc2.tar.gz
Update pin-project to 1.0.10
Test: cd external/rust/crates && atest --host -c Change-Id: I60f27e769ab8c287dbf4948e61bae172e6949cfc
Diffstat (limited to 'tests/ui/unstable-features/trivial_bounds.stderr')
-rw-r--r--tests/ui/unstable-features/trivial_bounds.stderr22
1 files changed, 14 insertions, 8 deletions
diff --git a/tests/ui/unstable-features/trivial_bounds.stderr b/tests/ui/unstable-features/trivial_bounds.stderr
index 6a3bb94..23f45c7 100644
--- a/tests/ui/unstable-features/trivial_bounds.stderr
+++ b/tests/ui/unstable-features/trivial_bounds.stderr
@@ -1,17 +1,23 @@
-error: Trait bound Inner: Unpin does not depend on any type or lifetime parameters
- --> $DIR/trivial_bounds.rs:15:35
+error: trait bound PhantomPinned: Unpin does not depend on any type or lifetime parameters
+ --> tests/ui/unstable-features/trivial_bounds.rs:15:43
|
-15 | impl Unpin for A where Inner: Unpin {} //~ ERROR std::marker::Unpin does not depend on any type or lifetime parameters
- | ^^^^^
+15 | impl Unpin for A where PhantomPinned: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
+ | ^^^^^
|
note: the lint level is defined here
- --> $DIR/trivial_bounds.rs:6:9
+ --> tests/ui/unstable-features/trivial_bounds.rs:6:9
|
6 | #![deny(trivial_bounds)]
| ^^^^^^^^^^^^^^
-error: Trait bound Wrapper<Inner>: Unpin does not depend on any type or lifetime parameters
- --> $DIR/trivial_bounds.rs:23:44
+error: trait bound Inner: Unpin does not depend on any type or lifetime parameters
+ --> tests/ui/unstable-features/trivial_bounds.rs:19:35
+ |
+19 | impl Unpin for B where Inner: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
+ | ^^^^^
+
+error: trait bound Wrapper<Inner>: Unpin does not depend on any type or lifetime parameters
+ --> tests/ui/unstable-features/trivial_bounds.rs:27:44
|
-23 | impl Unpin for B where Wrapper<Inner>: Unpin {} //~ ERROR std::marker::Unpin does not depend on any type or lifetime parameters
+27 | impl Unpin for C where Wrapper<Inner>: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
| ^^^^^