1 error: unsatisfied lifetime constraints
2 --> $DIR/issue-40510-3.rs:18:9
12 | |||_________^ requires that `'1` must outlive `'2`
16 | |______lifetime `'1` represents the closure body
17 | lifetime `'2` appears in return type
19 error: aborting due to previous error