]> git.proxmox.com Git - rustc.git/blame - src/test/ui/suggestions/issue-71394-no-from-impl.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / suggestions / issue-71394-no-from-impl.stderr
CommitLineData
1b1a35ee 1error[E0277]: the trait bound `&[i8]: From<&[u8]>` is not satisfied
f9f354fc
XL
2 --> $DIR/issue-71394-no-from-impl.rs:3:25
3 |
4LL | let _: &[i8] = data.into();
1b1a35ee 5 | ^^^^ the trait `From<&[u8]>` is not implemented for `&[i8]`
f9f354fc 6 |
1b1a35ee 7 = note: required because of the requirements on the impl of `Into<&[i8]>` for `&[u8]`
f9f354fc
XL
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0277`.