diff options
Diffstat (limited to 'src/test/ui/loops/loop-proper-liveness.stderr')
-rw-r--r-- | src/test/ui/loops/loop-proper-liveness.stderr | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/loops/loop-proper-liveness.stderr b/src/test/ui/loops/loop-proper-liveness.stderr new file mode 100644 index 000000000..14e86aee0 --- /dev/null +++ b/src/test/ui/loops/loop-proper-liveness.stderr @@ -0,0 +1,14 @@ +error[E0381]: used binding `x` isn't initialized + --> $DIR/loop-proper-liveness.rs:9:22 + | +LL | let x: i32; + | - binding declared here but left uninitialized +... +LL | println!("{:?}", x); + | ^ `x` used here but it isn't initialized + | + = 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) + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0381`. |