]>
Commit | Line | Data |
---|---|---|
487cf647 FG |
1 | error[E0308]: mismatched types |
2 | --> $DIR/issue-103783-array-length.rs:21:34 | |
3 | | | |
4 | LL | type NaughtyLenArray = [u32; 3.14159]; | |
5 | | ^^^^^^^ expected `usize`, found floating-point number | |
6 | ||
7 | error: aborting due to previous error | |
8 | ||
9 | For more information about this error, try `rustc --explain E0308`. |