]>
Commit | Line | Data |
---|---|---|
dc9dc135 XL |
1 | error: ambiguous lifetime bound in `impl Trait` |
2 | --> $DIR/ret-impl-trait-no-fg.rs:11:64 | |
3 | | | |
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 | |
6 | | | |
7 | = help: add #![feature(member_constraints)] to the crate attributes to enable | |
8 | ||
9 | error: aborting due to previous error | |
10 |