]>
Commit | Line | Data |
---|---|---|
3c0e092e XL |
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 | [()] => {} | |
9ffffee4 | 7 | | ^^ expected `S`, found `()` |
3c0e092e XL |
8 | |
9 | error: aborting due to previous error | |
10 | ||
11 | For more information about this error, try `rustc --explain E0308`. |