blob: e91063de8e08cd0e3df6e17daec50fbbe817c763 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0308]: mismatched types
--> $DIR/issue-91058.rs:7:10
|
LL | match array {
| ----- this expression has type `[S; 1]`
LL | [()] => {}
| ^^ expected `S`, found `()`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
|