fork/rust
git clone https://git.julia.blue/fork/rust
f3e1a954d2e
1.41.1
1error: lifetime may not live long enough 2 --> $DIR/regions-escape-method.rs:15:13 3 | 4LL | s.f(|p| p) 5 | -- ^ returning this value requires that `'1` must outlive `'2` 6 | || 7 | |return type of closure is &'2 i32 8 | has type `&'1 i32` 9 10error: aborting due to previous error 11