rust/tests/ui/entry-point/imported_main_conflict.rs
2024-03-06 12:01:54 +00:00

7 lines
123 B
Rust

//~ ERROR `main` is ambiguous
mod m1 { pub(crate) fn main() {} }
mod m2 { pub(crate) fn main() {} }
use m1::*;
use m2::*;