fork/rust

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

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

master
467 B14 linesraw
1error[E0381]: used binding `x` is possibly-uninitialized
2  --> $DIR/borrowck-if-with-else.rs:10:9
3   |
4LL |     let x: isize;
5   |         - binding declared here but left uninitialized
6LL |     if 1 > 2 {
7   |        ----- if this condition is `true`, `x` is not initialized
8...
9LL |     foo(x);
10   |         ^ `x` used here but it is possibly-uninitialized
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0381`.