1error: trait bound PhantomPinned: Unpin does not depend on any type or lifetime parameters 2 --> tests/ui/unstable-features/trivial_bounds.rs:18:43 3 | 418 | 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:8:9 9 | 108 | #![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:22:35 15 | 1622 | 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:30:44 21 | 2230 | impl Unpin for C where Wrapper<Inner>: Unpin {} //~ ERROR Unpin does not depend on any type or lifetime parameters 23 | ^^^^^ 24