summary refs log tree commit diff
path: root/src/test/ui/borrowck/borrowck-use-in-index-lvalue.stderr
blob: d1b396aba8257f246497becd0632935cdcf2aba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0381]: use of possibly-uninitialized variable: `w`
  --> $DIR/borrowck-use-in-index-lvalue.rs:3:5
   |
LL |     w[5] = 0;
   |     ^^^^ use of possibly-uninitialized `*w`

error[E0381]: use of possibly-uninitialized variable: `w`
  --> $DIR/borrowck-use-in-index-lvalue.rs:6:5
   |
LL |     w[5] = 0;
   |     ^^^^ use of possibly-uninitialized `*w`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0381`.