rust/tests/ui/unboxed-closures/unboxed-closures-zero-args.rs
2023-01-11 09:32:08 +00:00

9 lines
128 B
Rust

// run-pass
#![allow(unused_mut)]
// pretty-expanded FIXME #23616
fn main() {
let mut zero = || {};
let () = zero();
}