rust/tests/ui/unboxed-closures/unboxed-closures-static-call-fn-once.rs
2024-02-16 20:02:50 +00:00

8 lines
102 B
Rust

//@ run-pass
//@ pretty-expanded FIXME #23616
fn main() {
let onetime = |x| x;
onetime(0);
}