]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-71394-no-from-impl.stderr
Auto merge of #90836 - matthiaskrgr:rollup-ou6yrlw, r=matthiaskrgr
[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    = note: required because of the requirements on the impl of `Into<&[i8]>` for `&[u8]`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.