error: compilation successful --> $DIR/issue-41998.rs:14:1 | LL | / fn main() { //~ ERROR compilation successful LL | | if ('x' as char) < ('y' as char) { LL | | print!("x"); LL | | } else { LL | | print!("y"); LL | | } LL | | } | |_^ error: aborting due to previous error