blob: aad8cefe5d62f8b373523cff0c8a0f9e8a310d11 [file] [log] [blame]
// Regression test for issue #127424
fn bar() -> impl Into<
[u8; {
//~^ ERROR mismatched types [E0308]
let _ = for<'a, 'b> |x: &'a &'a Vec<&'b u32>, b: bool| -> &'a Vec<&'b u32> { *x };
//~^ ERROR `for<...>` binders for closures are experimental [E0658]
}],
> {
[89]
}
fn main() {}