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