summaryrefslogtreecommitdiffstats
path: root/tests/ui/resolve/associated-fn-called-as-fn.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/resolve/associated-fn-called-as-fn.stderr')
-rw-r--r--tests/ui/resolve/associated-fn-called-as-fn.stderr14
1 files changed, 12 insertions, 2 deletions
diff --git a/tests/ui/resolve/associated-fn-called-as-fn.stderr b/tests/ui/resolve/associated-fn-called-as-fn.stderr
index fbdea30d5..7d28b959a 100644
--- a/tests/ui/resolve/associated-fn-called-as-fn.stderr
+++ b/tests/ui/resolve/associated-fn-called-as-fn.stderr
@@ -2,13 +2,23 @@ error[E0425]: cannot find function `collect_primary` in this scope
--> $DIR/associated-fn-called-as-fn.rs:6:30
|
LL | '0'..='9' => collect_primary(&c),
- | ^^^^^^^^^^^^^^^ help: you might have meant to call the associated function: `Self::collect_primary`
+ | ^^^^^^^^^^^^^^^
+ |
+help: you might have meant to call the associated function
+ |
+LL | '0'..='9' => Self::collect_primary(&c),
+ | ++++++
error[E0425]: cannot find function `collect_primary` in this scope
--> $DIR/associated-fn-called-as-fn.rs:23:30
|
LL | '0'..='9' => collect_primary(&c),
- | ^^^^^^^^^^^^^^^ help: you might have meant to call the associated function: `Self::collect_primary`
+ | ^^^^^^^^^^^^^^^
+ |
+help: you might have meant to call the associated function
+ |
+LL | '0'..='9' => Self::collect_primary(&c),
+ | ++++++
error: aborting due to 2 previous errors