mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
8 lines
151 B
Rust
8 lines
151 B
Rust
#![feature(imported_main)]
|
|
//~^ ERROR `main` is ambiguous
|
|
mod m1 { pub(crate) fn main() {} }
|
|
mod m2 { pub(crate) fn main() {} }
|
|
|
|
use m1::*;
|
|
use m2::*;
|