rust/tests/ui/error-codes/E0054.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

5 lines
79 B
Rust
Raw Normal View History

2016-05-19 12:00:43 +00:00
fn main() {
let x = 5;
let x_is_nonzero = x as bool; //~ ERROR E0054
}