summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-1460.rs
blob: e663f7fd4c9bfed8a5b6f7d47993f681695622ca (plain)
1
2
3
4
5
6
7
// run-pass

// pretty-expanded FIXME #23616

pub fn main() {
    {|i: u32| if 1 == i { }}; //~ WARN unused closure that must be used
}