about summary refs log tree commit diff
path: root/tests/ui/suggestions/issue-83892.fixed
blob: b9a622c62f6d253fb44ab307b9d001ceb7a8b1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ run-rustfix

fn func() -> u8 {
    0
}

fn main() {
    match () {
        () => func() //~ ERROR mismatched types
    };
}