1 warning: not reporting region error due to nll
2 --> $DIR/issue-52533-1.rs:19:18
7 error: unsatisfied lifetime constraints
8 --> $DIR/issue-52533-1.rs:19:18
11 | - - ^ closure was supposed to return data with lifetime `'1` but it is returning data with lifetime `'2`
13 | | has type `&Foo<'_, '1, u32>`
14 | has type `&Foo<'_, '2, u32>`
16 error: aborting due to previous error