]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-1460.rs
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[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 }