summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-48838.rs
blob: 057a424dfef47614acb2e264b939a5f4c359fddf (plain)
1
2
3
4
5
enum Functions {
    Square = |x| x, //~ ERROR mismatched types
}

fn main() {}