1error: trait bound PhantomPinned: Unpin does not depend on any type or lifetime parameters
2  --> tests/ui/unstable-features/trivial_bounds.rs:16:43
3   |
416 |     impl Unpin for A where PhantomPinned: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
5   |                                           ^^^^^
6   |
7note: the lint level is defined here
8  --> tests/ui/unstable-features/trivial_bounds.rs:6:9
9   |
106  | #![deny(trivial_bounds)]
11   |         ^^^^^^^^^^^^^^
12
13error: trait bound Inner: Unpin does not depend on any type or lifetime parameters
14  --> tests/ui/unstable-features/trivial_bounds.rs:20:35
15   |
1620 |     impl Unpin for B where Inner: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
17   |                                   ^^^^^
18
19error: trait bound Wrapper<Inner>: Unpin does not depend on any type or lifetime parameters
20  --> tests/ui/unstable-features/trivial_bounds.rs:28:44
21   |
2228 |     impl Unpin for C where Wrapper<Inner>: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters
23   |                                            ^^^^^
24