Closed
Description
openedon Aug 10, 2015
mod foo {
pub fn bar() {
}
}
pub use foo::bar as main;
does not compile due to
error: main function not found
aborting due to previous error
The expected behaviour would be that the compiler treats the global symbol main
which resolves to foo::bar
as the main function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels