]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-block-unint.stderr
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
[rust.git] / src / test / ui / borrowck / borrowck-block-unint.stderr
1 error[E0381]: borrow of possibly-uninitialized variable: `x`
2   --> $DIR/borrowck-block-unint.rs:4:11
3    |
4 LL |     force(|| {
5    |           ^^ use of possibly-uninitialized `x`
6 LL |         println!("{}", x);
7    |                        - borrow occurs due to use in closure
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0381`.