1 error: ambiguous lifetime bound in `impl Trait`
2 --> $DIR/ret-impl-trait-no-fg.rs:9:64
4 LL | async fn async_ret_impl_trait<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a, 'b> {
5 | ^^^^^^^^^^^^^^^^^^ neither `'a` nor `'b` outlives the other
7 = help: add #![feature(member_constraints)] to the crate attributes to enable
9 error: ambiguous lifetime bound in `impl Trait`
10 --> $DIR/ret-impl-trait-no-fg.rs:9:64
12 LL | async fn async_ret_impl_trait<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a, 'b> {
13 | ^^^^^^^^^^^^^^^^^^ neither `'a` nor `'b` outlives the other
15 = help: add #![feature(member_constraints)] to the crate attributes to enable
17 error: ambiguous lifetime bound in `impl Trait`
18 --> $DIR/ret-impl-trait-no-fg.rs:9:64
20 LL | async fn async_ret_impl_trait<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a, 'b> {
21 | ^^^^^^^^^^^^^^^^^^ the elided lifetimes here do not outlive one another
23 = help: add #![feature(member_constraints)] to the crate attributes to enable
25 error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
26 --> $DIR/ret-impl-trait-no-fg.rs:9:1
28 LL | / async fn async_ret_impl_trait<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a, 'b> {
37 = note: hidden type `(&u8, &u8)` captures lifetime '_#5r
39 error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
40 --> $DIR/ret-impl-trait-no-fg.rs:9:1
42 LL | / async fn async_ret_impl_trait<'a, 'b>(a: &'a u8, b: &'b u8) -> impl Trait<'a, 'b> {
51 = note: hidden type `(&u8, &u8)` captures lifetime '_#6r
53 error: aborting due to 5 previous errors
55 For more information about this error, try `rustc --explain E0700`.