1 error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
2 --> $DIR/ordinary-bounds-unsuited.rs:20:62
4 LL | fn upper_bounds<'a, 'b>(a: Ordinary<'a>, b: Ordinary<'b>) -> impl Trait<'a, 'b>
7 note: hidden type `Ordinary<'_>` captures lifetime smaller than the function body
8 --> $DIR/ordinary-bounds-unsuited.rs:20:62
10 LL | fn upper_bounds<'a, 'b>(a: Ordinary<'a>, b: Ordinary<'b>) -> impl Trait<'a, 'b>
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0700`.