fork/rust

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

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

master
186 B12 linesraw
1// run-rustfix
2
3fn foo() -> i32 {
4    0
5}
6
7fn main() {
8    let _x: i32 = {
9        //~^ ERROR mismatched types
10        foo() //~ HELP remove this semicolon to return this value
11    };
12}