mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
4 lines
103 B
Rust
4 lines
103 B
Rust
fn main() {
|
|
let _b = unsafe { std::mem::transmute::<u8, bool>(2) }; //~ ERROR expected a boolean
|
|
}
|