]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-31511.rs
Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
[rust.git] / src / test / ui / issues / issue-31511.rs
1 fn cast_thin_to_fat(x: *const ()) {
2     x as *const [u8];
3     //~^ ERROR: cannot cast thin pointer `*const ()` to fat pointer `*const [u8]`
4 }
5
6 fn main() {}