1 error: lifetime may not live long enough
2 --> $DIR/E0621-does-not-trigger-for-closures.rs:13:45
4 LL | invoke(&x, |a, b| if a > b { a } else { b });
5 | -- ^ returning this value requires that `'1` must outlive `'2`
7 | |return type of closure is &'2 i32
10 error: aborting due to previous error