diff options
Diffstat (limited to 'tests/ui/imports/auxiliary/glob-conflict.rs')
-rw-r--r-- | tests/ui/imports/auxiliary/glob-conflict.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/imports/auxiliary/glob-conflict.rs b/tests/ui/imports/auxiliary/glob-conflict.rs new file mode 100644 index 000000000..c83db64c6 --- /dev/null +++ b/tests/ui/imports/auxiliary/glob-conflict.rs @@ -0,0 +1,13 @@ +mod m1 { + pub fn f() {} +} +mod m2 { + pub fn f(_: u8) {} +} + +pub use m1::*; +pub use m2::*; + +pub mod glob { + pub use *; +} |