]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-17263.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-17263.rs
index f40d51f1d2fd3c59c3aef358a2ca1de3b5aef372..2320bc02baf5edc478996370b1cef53008b9d1f0 100644 (file)
@@ -23,3 +23,5 @@ fn main() {
     //~^ ERROR cannot borrow `foo` (here through borrowing `foo.b`) as immutable
     //~^^ NOTE previous borrow of `foo` occurs here (through borrowing `foo.a`)
 }
+//~^ NOTE previous borrow ends here
+//~^^ NOTE previous borrow ends here