error[E0608]: cannot index into a value of type `u8` --> $DIR/E0608.rs:2:8 | LL | 0u8[2]; | ^^^ error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0608`.