]> git.proxmox.com Git - rustc.git/blame - src/test/ui/async-await/multiple-lifetimes/ret-impl-trait-no-fg.stderr
New upstream version 1.37.0+dfsg1
[rustc.git] / src / test / ui / async-await / multiple-lifetimes / ret-impl-trait-no-fg.stderr
CommitLineData
dc9dc135
XL
1error: ambiguous lifetime bound in `impl Trait`
2 --> $DIR/ret-impl-trait-no-fg.rs:11:64
3 |
4LL | 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
9error: aborting due to previous error
10