]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/issue-91058.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / match / issue-91058.rs
1 struct S(());
2
3 fn main() {
4     let array = [S(())];
5
6     match array {
7         [()] => {}
8         //~^ ERROR mismatched types [E0308]
9         _ => {}
10     }
11 }