blob: d6e53830c45fc5cae05fb29151d4489134079210 [file]
error: the constant `2` is not of type `usize`
--> $DIR/type-const-in-array-len-wrong-type.rs:15:33
|
LL | fn lfn_contents() -> [char; Self::LFN_FRAGMENT_LEN] {
| ^^^^^^^^^^^^^^^^^^^^^^ array length expected `usize`, found `i64`
|
= note: the length of array `[char; 2]` must be type `usize`
error: aborting due to 1 previous error