We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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.
main
foo::bar