1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// Example demonstrating the function call resolution bug and fix fn main() { helper1(); helper2(); println!("Main function complete"); } fn helper1() { println!("Helper 1 called"); } fn helper2() { println!("Helper 2 called"); }