13 lines
324 B
Plaintext
13 lines
324 B
Plaintext
|
error[E0308]: mismatched types
|
||
|
--> $DIR/issue-27008.rs:14:17
|
||
|
|
|
||
|
LL | let b = [0; S];
|
||
|
| ^ expected usize, found struct `S`
|
||
|
|
|
||
|
= note: expected type `usize`
|
||
|
found type `S`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0308`.
|