]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/borrowck-while.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-while.rs
index 6b3220c7d8591970e90a89cc7b211a1fe5bb7dc9..f49a778eb6bbeb38c3ff8fc496e4dbaa961d4b79 100644 (file)
@@ -1,7 +1,7 @@
 fn f() -> isize {
     let mut x: isize;
     while 1 == 1 { x = 10; }
-    return x; //~ ERROR use of possibly-uninitialized variable: `x`
+    return x; //~ ERROR E0381
 }
 
 fn main() { f(); }