]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closures-static-call-fn-once.rs
Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov
[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 }