]> git.proxmox.com Git - rustc.git/blame - src/test/ui/match/issue-91058.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / match / issue-91058.rs
CommitLineData
3c0e092e
XL
1struct S(());
2
3fn main() {
4 let array = [S(())];
5
6 match array {
7 [()] => {}
8 //~^ ERROR mismatched types [E0308]
9 _ => {}
10 }
11}