fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
836 B18 linesraw
1error: ambiguous lifetime bound in `impl Trait`
2  --> $DIR/ret-impl-trait-no-fg.rs:9: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: ambiguous lifetime bound in `impl Trait`
10  --> $DIR/ret-impl-trait-no-fg.rs:9:64
11   |
12LL | 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
14   |
15   = help: add #![feature(member_constraints)] to the crate attributes to enable
16
17error: aborting due to 2 previous errors
18