1 error[E0308]: mismatched types
2 --> $DIR/issue-91058.rs:7:10
5 | ----- this expression has type `[S; 1]`
7 | ^^ expected `S`, found `()`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0308`.