]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/issue-71394-no-from-impl.rs
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / suggestions / issue-71394-no-from-impl.rs
1 fn main() {
2     let data: &[u8] = &[0; 10];
3     let _: &[i8] = data.into();
4     //~^ ERROR the trait bound `&[i8]: From<&[u8]>` is not satisfied
5 }