]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-71394-no-from-impl.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / suggestions / issue-71394-no-from-impl.stderr
1 error[E0277]: the trait bound `&[i8]: From<&[u8]>` is not satisfied
2   --> $DIR/issue-71394-no-from-impl.rs:3:20
3    |
4 LL |     let _: &[i8] = data.into();
5    |                    ^^^^ ---- required by a bound introduced by this call
6    |                    |
7    |                    the trait `From<&[u8]>` is not implemented for `&[i8]`
8    |
9    = help: the following other types implement trait `From<T>`:
10              <[T; LANES] as From<Simd<T, LANES>>>
11              <[bool; LANES] as From<Mask<T, LANES>>>
12    = note: required for `&[u8]` to implement `Into<&[i8]>`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.