fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
901 B25 linesraw
1error[E0425]: cannot find function `collect_primary` in this scope
2  --> $DIR/associated-fn-called-as-fn.rs:6:30
3   |
4LL |                 '0'..='9' => collect_primary(&c),
5   |                              ^^^^^^^^^^^^^^^
6   |
7help: you might have meant to call the associated function
8   |
9LL |                 '0'..='9' => Self::collect_primary(&c),
10   |                              ++++++
11
12error[E0425]: cannot find function `collect_primary` in this scope
13  --> $DIR/associated-fn-called-as-fn.rs:23:30
14   |
15LL |                 '0'..='9' => collect_primary(&c),
16   |                              ^^^^^^^^^^^^^^^
17   |
18help: you might have meant to call the associated function
19   |
20LL |                 '0'..='9' => Self::collect_primary(&c),
21   |                              ++++++
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0425`.