fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
405 B10 linesraw
1error: ambiguous lifetime bound in `impl Trait`
2  --> $DIR/feature-gate-member-constraints.rs:4:43
3   |
4LL | fn foo<'a, 'b>(x: &'a u32, y: &'b u32) -> 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