]> git.lizzy.rs Git - rust.git/blob - tests/ui/save-analysis/issue-26459.rs
Auto merge of #106711 - albertlarsan68:use-ci-llvm-when-lld, r=jyn514
[rust.git] / tests / 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 }