summaryrefslogtreecommitdiffstats
path: root/src/test/ui/borrowck/borrowck-init-op-equal.stderr
blob: 74704b2abfee87d8c6750df0bf3f9ace74043ab6 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0381]: used binding `v` isn't initialized
  --> $DIR/borrowck-init-op-equal.rs:3:5
   |
LL |     let v: isize;
   |         - binding declared here but left uninitialized
LL |     v += 1;
   |     ^^^^^^ `v` used here but it isn't initialized

error: aborting due to previous error

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