1 2 3 4 5
fn main() { let data: &[u8] = &[0; 10]; let _: &[i8] = data.into(); //~^ ERROR the trait bound `&[i8]: From<&[u8]>` is not satisfied }