fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
162 B9 linesraw
1// run-rustfix
2
3fn main() {
4    if true {
5        "A".to_string()
6    } else {
7        "B".to_string() //~ ERROR `if` and `else` have incompatible types
8    };
9}