]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/associated-fn-called-as-fn.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / associated-fn-called-as-fn.stderr
1 error[E0425]: cannot find function `collect_primary` in this scope
2   --> $DIR/associated-fn-called-as-fn.rs:6:30
3    |
4 LL |                 '0'..='9' => collect_primary(&c),
5    |                              ^^^^^^^^^^^^^^^ help: you might have meant to call the associated function: `Self::collect_primary`
6
7 error[E0425]: cannot find function `collect_primary` in this scope
8   --> $DIR/associated-fn-called-as-fn.rs:23:30
9    |
10 LL |                 '0'..='9' => collect_primary(&c),
11    |                              ^^^^^^^^^^^^^^^ help: you might have meant to call the associated function: `Self::collect_primary`
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0425`.