]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closures-static-call-fn-once.rs
Auto merge of #103600 - compiler-errors:early-binder-nits, r=spastorino
[rust.git] / src / test / ui / unboxed-closures / unboxed-closures-static-call-fn-once.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 fn main() {
5     let onetime = |x| x;
6     onetime(0);
7 }