]> git.proxmox.com Git - rustc.git/blame - src/test/ui/loops/loop-proper-liveness.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / loops / loop-proper-liveness.stderr
CommitLineData
064997fb 1error[E0381]: used binding `x` isn't initialized
0731742a 2 --> $DIR/loop-proper-liveness.rs:9:22
b7449926 3 |
064997fb
FG
4LL | let x: i32;
5 | - binding declared here but left uninitialized
6...
532ac7d7 7LL | println!("{:?}", x);
064997fb 8 | ^ `x` used here but it isn't initialized
a2a8927a 9 |
064997fb 10 = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
2b03887a
FG
11help: consider assigning a value
12 |
13LL | let x: i32 = 0;
14 | +++
b7449926
XL
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0381`.