fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0308]: mismatched types 2 --> $DIR/issue-52533-1.rs:9:18 3 | 4LL | gimme(|x, y| y) 5 | ^ lifetime mismatch 6 | 7 = note: expected reference `&Foo<'_, '_, u32>` 8 found reference `&Foo<'_, '_, u32>` 9note: the anonymous lifetime #4 defined on the body at 9:11... 10 --> $DIR/issue-52533-1.rs:9:11 11 | 12LL | gimme(|x, y| y) 13 | ^^^^^^^^ 14note: ...does not necessarily outlive the anonymous lifetime #3 defined on the body at 9:11 15 --> $DIR/issue-52533-1.rs:9:11 16 | 17LL | gimme(|x, y| y) 18 | ^^^^^^^^ 19 20error: aborting due to previous error 21 22For more information about this error, try `rustc --explain E0308`.