]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/borrowck/borrowck-closures-unique-imm.nll.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / borrowck / borrowck-closures-unique-imm.nll.stderr
index b8f17570a6471309dd978410e0e6881d3165a5bd..aca4f309257e7effc23086a08d73788c4a660e1c 100644 (file)
@@ -6,7 +6,7 @@ LL |         let p = &this.x;
 LL |         &mut this.x; //~ ERROR cannot borrow
    |         ^^^^^^^^^^^ mutable borrow occurs here
 LL |         p.use_ref();
-   |         - borrow later used here
+   |         - immutable borrow later used here
 
 error: aborting due to previous error