]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-71394-no-from-impl.stderr
Rollup merge of #85766 - workingjubilee:file-options, r=yaahc
[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:25
3    |
4 LL |     let _: &[i8] = data.into();
5    |                         ^^^^ the trait `From<&[u8]>` is not implemented for `&[i8]`
6    |
7    = help: the following implementations were found:
8              <[T; LANES] as From<Simd<T, LANES>>>
9              <[bool; LANES] as From<Mask<T, LANES>>>
10    = note: required because of the requirements on the impl of `Into<&[i8]>` for `&[u8]`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.