fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
468 B15 linesraw
1error[E0381]: use of possibly-uninitialized variable: `w`
2  --> $DIR/borrowck-use-in-index-lvalue.rs:3:5
3   |
4LL |     w[5] = 0;
5   |     ^^^^ use of possibly-uninitialized `*w`
6
7error[E0381]: use of possibly-uninitialized variable: `w`
8  --> $DIR/borrowck-use-in-index-lvalue.rs:6:5
9   |
10LL |     w[5] = 0;
11   |     ^^^^ use of possibly-uninitialized `*w`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0381`.