blob: f3246c12bd9a8493c441c828d5919e6251b346b2 [file] [log] [blame]
error[E0381]: borrow of possibly uninitialized variable: `x`
--> $DIR/borrowck-block-unint.rs:14:11
|
LL | force(|| { //~ ERROR capture of possibly uninitialized variable: `x`
| ^^ 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`.