summaryrefslogtreecommitdiffstats
path: root/tests/ui/generator/dropck-resume.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generator/dropck-resume.stderr')
-rw-r--r--tests/ui/generator/dropck-resume.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/generator/dropck-resume.stderr b/tests/ui/generator/dropck-resume.stderr
index b0756eb55..ecf92e7e3 100644
--- a/tests/ui/generator/dropck-resume.stderr
+++ b/tests/ui/generator/dropck-resume.stderr
@@ -5,7 +5,7 @@ LL | let z = &mut y;
| ------ mutable borrow occurs here
...
LL | r = y.as_ref().unwrap();
- | ^^^^^^^^^^ immutable borrow occurs here
+ | ^ immutable borrow occurs here
LL |
LL | }
| - mutable borrow might be used here, when `g` is dropped and runs the destructor for generator