summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-22468.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-22468.stderr')
-rw-r--r--tests/ui/issues/issue-22468.stderr5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-22468.stderr b/tests/ui/issues/issue-22468.stderr
index 3fff91acb..052888d20 100644
--- a/tests/ui/issues/issue-22468.stderr
+++ b/tests/ui/issues/issue-22468.stderr
@@ -7,7 +7,10 @@ LL | let x = foo("baz");
| ^^^-------
| |
| call expression requires function
+...
+LL | fn foo(file: &str) -> bool {
+ | -------------------------- this function of the same name is available here, but it's shadowed by the local binding
-error: aborting due to previous error
+error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0618`.