rust/tests/ui/issues/issue-40510-4.rs
2023-01-11 09:32:08 +00:00

16 lines
152 B
Rust

// check-pass
#![allow(unused)]
fn f() {
let x: Vec<()> = Vec::new();
|| {
|| {
x.len()
}
};
}
fn main() {}