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