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

error: aborting due to previous error

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