rust/tests/ui/entry-point/imported_main_from_inner_mod.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
111 B
Rust
Raw Permalink Normal View History

//@ run-pass
pub mod foo {
pub fn bar() {
println!("Hello world!");
}
}
use foo::bar as main;