blob: e757c7f3a44635926f7cd837f78a5b9bf89d7ce3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
|