summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/issue-91058.stderr
blob: 12f37274b6b21b489ec93b65723cfb797b156338 (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 previous error

For more information about this error, try `rustc --explain E0308`.