summary refs log tree commit diff
path: root/src/test/ui/issues/issue-26459.rs
blob: 79791e0e06ad568b66b26277fb48b1b86c0a874e (plain)
1
2
3
4
5
6
fn main() {
    match 'a' {
        char{ch} => true
        //~^ ERROR expected struct, variant or union type, found builtin type `char`
    };
}