]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/issue-71394-no-from-impl.stderr
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / 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 other types implement trait `From<T>`:
8              <[T; LANES] as From<Simd<T, LANES>>>
9              <[bool; LANES] as From<Mask<T, LANES>>>
10    = note: required for `&[u8]` to implement `Into<&[i8]>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0277`.