]> git.lizzy.rs Git - rust.git/blob - src/test/ui/borrowck/issue-24267-flow-exit.stderr
Auto merge of #98140 - klensy:compiletest-strip, r=Mark-Simulacrum
[rust.git] / src / test / ui / borrowck / issue-24267-flow-exit.stderr
1 error[E0381]: borrow of possibly-uninitialized variable: `x`
2   --> $DIR/issue-24267-flow-exit.rs:12:20
3    |
4 LL |     println!("{}", x);
5    |                    ^ use of possibly-uninitialized `x`
6    |
7    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
8
9 error[E0381]: borrow of possibly-uninitialized variable: `x`
10   --> $DIR/issue-24267-flow-exit.rs:18:20
11    |
12 LL |     println!("{}", x);
13    |                    ^ use of possibly-uninitialized `x`
14    |
15    = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info)
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0381`.