2021-11-19 16:57:33 -06:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-91058.rs:7:10
|
|
|
|
|
|
|
|
|
LL | match array {
|
|
|
|
| ----- this expression has type `[S; 1]`
|
|
|
|
LL | [()] => {}
|
2023-01-02 20:00:33 -06:00
|
|
|
| ^^ expected `S`, found `()`
|
2021-11-19 16:57:33 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2021-11-19 16:57:33 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|