]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/borrowck-block-unint.stderr
Rollup merge of #91264 - GuillaumeGomez:macro-jump-to-def, r=jsha
[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`.