]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-26459.rs
Auto merge of #86860 - fee1-dead:stabilize, r=LeSeulArtichaut
[rust.git] / src / test / ui / issues / issue-26459.rs
1 // compile-flags: -Zsave-analysis
2
3 fn main() {
4     match 'a' {
5         char{ch} => true
6         //~^ ERROR expected struct, variant or union type, found builtin type `char`
7     };
8 }