1
Fork 0

Test fixes for the change of error message for issue #54015

This commit is contained in:
Rusty Blitzerr 2018-09-28 09:21:10 -07:00
parent d5ae6f7870
commit 44b3674d8e
15 changed files with 22 additions and 22 deletions

View file

@ -7,7 +7,7 @@ LL | foo.mutate();
| ^^^^^^^^^^^^ mutable borrow occurs here
LL | //~^ ERROR cannot borrow `foo` as mutable
LL | println!("foo={:?}", *string);
| ------- borrow used here in later iteration of loop
| ------- borrow used here, in later iteration of loop
error: aborting due to previous error