]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/associated-fn-called-as-fn.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / 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`.