blob: 578f89df46ce173ca0a4293bf1abed1d3f21fba9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0381]: borrow of possibly-uninitialized variable: `x`
--> $DIR/borrowck-block-unint.rs:4:11
|
LL | force(|| {
| ^^ use of possibly-uninitialized `x`
LL | println!("{}", x);
| - borrow occurs due to use in closure
error: aborting due to previous error
For more information about this error, try `rustc --explain E0381`.
|