mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 01:55:03 +00:00
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
|
|
}
|