1 error[E0312]: lifetime of reference outlives lifetime of borrowed content...
2 --> $DIR/unboxed-closures-infer-argument-types-two-region-pointers.rs:17:15
7 note: ...the reference is valid for the anonymous lifetime #2 defined here...
8 --> $DIR/unboxed-closures-infer-argument-types-two-region-pointers.rs:16:14
10 LL | doit(0, &|x, y| {
15 note: ...but the borrowed content is only valid for the anonymous lifetime #3 defined here
16 --> $DIR/unboxed-closures-infer-argument-types-two-region-pointers.rs:16:14
18 LL | doit(0, &|x, y| {
24 error: aborting due to previous error
26 For more information about this error, try `rustc --explain E0312`.