8 lines
132 B
Rust
8 lines
132 B
Rust
fn main() {
|
|
let x = 0u8;
|
|
x as Vec<u8>; //~ ERROR E0605
|
|
|
|
let v = std::ptr::null::<u8>();
|
|
v as &u8; //~ ERROR E0605
|
|
}
|