]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/borrowck-while-cond.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-while-cond.stderr
index 92937a9c5730e6f1c8afe18bf50272486d3b313e..e41c1c55e6024365c46873574341244938fe0a19 100644 (file)
@@ -1,8 +1,10 @@
-error[E0381]: use of possibly-uninitialized variable: `x`
+error[E0381]: used binding `x` isn't initialized
   --> $DIR/borrowck-while-cond.rs:3:11
    |
+LL |     let x: bool;
+   |         - binding declared here but left uninitialized
 LL |     while x { }
-   |           ^ use of possibly-uninitialized `x`
+   |           ^ `x` used here but it isn't initialized
 
 error: aborting due to previous error