]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/borrowck/borrowck-while-cond.rs
Auto merge of #99028 - tmiasko:inline, r=estebank
[rust.git] / src / test / ui / borrowck / borrowck-while-cond.rs
index b3ec20711c12b32ad05433b0dc8ce99e7fcf18c7..62a9bdd2020559817e7e6bf8c2fca085cfcd7d9c 100644 (file)
@@ -1,4 +1,4 @@
 fn main() {
     let x: bool;
-    while x { } //~ ERROR use of possibly-uninitialized variable: `x`
+    while x { } //~ ERROR E0381
 }