]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-1460.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / issues / issue-1460.rs
1 // run-pass
2
3 // pretty-expanded FIXME #23616
4
5 pub fn main() {
6     {|i: u32| if 1 == i { }}; //~ WARN unused closure that must be used
7 }