about summary refs log tree commit diff
path: root/tests/ui/lint/issue-109152.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/issue-109152.stderr')
-rw-r--r--tests/ui/lint/issue-109152.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/lint/issue-109152.stderr b/tests/ui/lint/issue-109152.stderr
index a175964ccf6..01aa9068da5 100644
--- a/tests/ui/lint/issue-109152.stderr
+++ b/tests/ui/lint/issue-109152.stderr
@@ -16,8 +16,9 @@ LL | #![deny(map_unit_fn)]
    |         ^^^^^^^^^^^
 help: you might have meant to use `Iterator::for_each`
    |
-LL |     vec![42].iter().for_each(drop);
-   |                     ~~~~~~~~
+LL -     vec![42].iter().map(drop);
+LL +     vec![42].iter().for_each(drop);
+   |
 
 error: aborting due to 1 previous error