rust/tests/ui/error-codes/E0054.rs
2023-01-11 09:32:08 +00:00

5 lines
79 B
Rust

fn main() {
let x = 5;
let x_is_nonzero = x as bool; //~ ERROR E0054
}