fork/rust

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

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

master
572 B16 linesraw
1error[E0381]: used binding `y` is possibly-uninitialized
2  --> $DIR/no-non-guaranteed-initialization.rs:9:5
3   |
4LL |     let y;
5   |         - binding declared here but left uninitialized
6LL |     if x > 5 {
7   |        ----- if this `if` condition is `false`, `y` is not initialized
8LL |         y = echo(10).await;
9LL |     }
10   |      - an `else` arm might be missing here, initializing `y`
11LL |     y
12   |     ^ `y` used here but it is possibly-uninitialized
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0381`.