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