error[E0609]: no field `0` on type `[{integer}; 5]` --> $DIR/issue-53712.rs:5:9 | LL | arr.0; | ----^ | | | help: instead of using tuple indexing, use array indexing: `arr[0]` error: aborting due to previous error For more information about this error, try `rustc --explain E0609`.