rust/tests/ui/imports/auxiliary/glob-conflict.rs

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

16 lines
164 B
Rust
Raw Normal View History

2023-03-19 14:11:28 -05:00
#![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 *;
}