summaryrefslogtreecommitdiffstats
path: root/tests/ui/save-analysis/issue-26459.rs
blob: 2ba05a0a47e01dd9590b61f106d840f7f78e8f70 (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Zsave-analysis

fn main() {
    match 'a' {
        char{ch} => true
        //~^ ERROR expected struct, variant or union type, found builtin type `char`
    };
}