blob: aad8cefe5d62f8b373523cff0c8a0f9e8a310d11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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() {}
|