]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/nll/match-on-borrowed.stderr
New upstream version 1.64.0+dfsg1
[rustc.git] / src / test / ui / nll / match-on-borrowed.stderr
index 2121b59b02da375c2bd06a65609f6a3f0f4d29dd..664f36f695cf3ce12b37dbf7741960c17a8cd16a 100644 (file)
@@ -33,11 +33,13 @@ LL |     match t {
 LL |     x;
    |     - borrow later used here
 
-error[E0381]: use of possibly-uninitialized variable: `n`
+error[E0381]: used binding `n` isn't initialized
   --> $DIR/match-on-borrowed.rs:93:11
    |
+LL |     let n: Never;
+   |         - binding declared here but left uninitialized
 LL |     match n {}
-   |           ^ use of possibly-uninitialized `n`
+   |           ^ `n` used here but it isn't initialized
 
 error: aborting due to 4 previous errors