summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0054.rs
blob: 55bda4ead96a8be1e4f6141ff0ac938a11a8ecb1 (plain)
1
2
3
4
fn main() {
    let x = 5;
    let x_is_nonzero = x as bool; //~ ERROR E0054
}