fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
854 B21 linesraw
1error[E0277]: the trait bound `&[i8]: From<&[u8]>` is not satisfied
2  --> $DIR/issue-71394-no-from-impl.rs:8:25
3   |
4LL |     let _: &[i8] = data.into();
5   |                         ^^^^ the trait `From<&[u8]>` is not implemented for `&[i8]`
6   |
7   = help: the following other types implement trait `From<T>`:
8             <[bool; LANES] as From<Mask<T, LANES>>>
9             <[T; N] as From<Simd<T, N>>>
10             <[T; 1] as From<(T,)>>
11             <[T; 2] as From<(T, T)>>
12             <[T; 3] as From<(T, T, T)>>
13             <[T; 4] as From<(T, T, T, T)>>
14             <[T; 5] as From<(T, T, T, T, T)>>
15             <[T; 6] as From<(T, T, T, T, T, T)>>
16           and 6 others
17   = note: required for `&[u8]` to implement `Into<&[i8]>`
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0277`.