6 '0'..='9' => collect_primary(&c), //~ ERROR cannot find function `collect_primary`
7 //~^ HELP you might have meant to call the associated function
8 '+' | '-' => println!("We got a sign: {}", c),
9 _ => println!("Not a number!")
15 fn collect_primary(ch:&char) { }
19 fn collect_primary(ch:&char) { }
23 '0'..='9' => collect_primary(&c), //~ ERROR cannot find function `collect_primary`
24 //~^ HELP you might have meant to call the associated function
25 '+' | '-' => println!("We got a sign: {}", c),
26 _ => println!("Not a number!")