]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-use-in-index-lvalue.ast.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / borrowck / borrowck-use-in-index-lvalue.ast.stderr
1 error[E0381]: use of possibly uninitialized variable: `*w`
2   --> $DIR/borrowck-use-in-index-lvalue.rs:6:5
3    |
4 LL |     w[5] = 0; //[ast]~ ERROR use of possibly uninitialized variable: `*w` [E0381]
5    |     ^^^^^^^^ use of possibly uninitialized `*w`
6
7 error[E0381]: use of possibly uninitialized variable: `*w`
8   --> $DIR/borrowck-use-in-index-lvalue.rs:10:5
9    |
10 LL |     w[5] = 0; //[ast]~ ERROR use of possibly uninitialized variable: `*w` [E0381]
11    |     ^^^^^^^^ use of possibly uninitialized `*w`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0381`.