rust/tests/ui/imports/auxiliary/glob-conflict.rs
2023-03-20 03:22:31 +08:00

16 lines
164 B
Rust

#![allow(ambiguous_glob_reexports)]
mod m1 {
pub fn f() {}
}
mod m2 {
pub fn f(_: u8) {}
}
pub use m1::*;
pub use m2::*;
pub mod glob {
pub use *;
}