rust/tests/ui/issues/issue-1460.rs
2023-01-11 09:32:08 +00:00

8 lines
136 B
Rust

// run-pass
// pretty-expanded FIXME #23616
pub fn main() {
{|i: u32| if 1 == i { }}; //~ WARN unused closure that must be used
}