summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-52126-assign-op-invariance.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-52126-assign-op-invariance.stderr')
-rw-r--r--tests/ui/issues/issue-52126-assign-op-invariance.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-52126-assign-op-invariance.stderr b/tests/ui/issues/issue-52126-assign-op-invariance.stderr
index 2d3b48832..316e755f4 100644
--- a/tests/ui/issues/issue-52126-assign-op-invariance.stderr
+++ b/tests/ui/issues/issue-52126-assign-op-invariance.stderr
@@ -4,7 +4,7 @@ error[E0597]: `line` does not live long enough
LL | for line in vec!["123456789".to_string(), "12345678".to_string()] {
| ---- binding `line` declared here
LL | let v: Vec<&str> = line.split_whitespace().collect();
- | ^^^^^^^^^^^^^^^^^^^^^^^ borrowed value does not live long enough
+ | ^^^^ borrowed value does not live long enough
...
LL | acc += cnt2;
| --- borrow later used here