]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24267-flow-exit.nll.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-24267-flow-exit.nll.stderr
1 error[E0381]: borrow of possibly uninitialized variable: `x`
2   --> $DIR/issue-24267-flow-exit.rs:12:20
3    |
4 LL |     println!("{}", x); //~ ERROR use of possibly uninitialized variable: `x`
5    |                    ^ use of possibly uninitialized `x`
6
7 error[E0381]: borrow of possibly uninitialized variable: `x`
8   --> $DIR/issue-24267-flow-exit.rs:18:20
9    |
10 LL |     println!("{}", x); //~ ERROR use of possibly uninitialized variable: `x`
11    |                    ^ use of possibly uninitialized `x`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0381`.