]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/issue-91058.stderr
Rollup merge of #92933 - bjorn3:no_bin_lib_mixing, r=estebank
[rust.git] / src / test / ui / match / issue-91058.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-91058.rs:7:10
3    |
4 LL |     match array {
5    |           ----- this expression has type `[S; 1]`
6 LL |         [()] => {}
7    |          ^^ expected struct `S`, found `()`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.