]> git.lizzy.rs Git - rust.git/blob - src/test/ui/save-analysis/issue-26459.rs
Rollup merge of #106043 - c410-f3r:moar-errors, r=petrochenkov
[rust.git] / src / test / ui / save-analysis / 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 }