]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closures-zero-args.rs
Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov
[rust.git] / src / test / ui / unboxed-closures / unboxed-closures-zero-args.rs
1 // run-pass
2 #![allow(unused_mut)]
3 // pretty-expanded FIXME #23616
4
5 fn main() {
6     let mut zero = || {};
7     let () = zero();
8 }