fn main() { } mod foo { fn main() { //~ ERROR multiple 'main' functions } }