rust/tests/ui/unboxed-closures/unboxed-closures-zero-args.rs
2024-02-16 20:02:50 +00:00

9 lines
130 B
Rust

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