]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-26459.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-26459.rs
CommitLineData
74b04a01
XL
1// compile-flags: -Zsave-analysis
2
b039eaaf
SL
3fn main() {
4 match 'a' {
5 char{ch} => true
c30ab7b3 6 //~^ ERROR expected struct, variant or union type, found builtin type `char`
b039eaaf
SL
7 };
8}