]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0605.rs
Sync rust-lang/portable-simd@03f6fbb21e6050da2a05b3ce8f480c020b384916
[rust.git] / src / test / ui / error-codes / E0605.rs
1 fn main() {
2     let x = 0u8;
3     x as Vec<u8>; //~ ERROR E0605
4
5     let v = std::ptr::null::<u8>();
6     v as &u8; //~ ERROR E0605
7 }