fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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