diff options
Diffstat (limited to 'tests/ui/imports/issue-57015.rs')
-rw-r--r-- | tests/ui/imports/issue-57015.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/imports/issue-57015.rs b/tests/ui/imports/issue-57015.rs new file mode 100644 index 000000000..27688fd34 --- /dev/null +++ b/tests/ui/imports/issue-57015.rs @@ -0,0 +1,13 @@ +mod glob_ok { + pub mod something { + pub mod something_else {} + } +} + +mod single_err {} + +use glob_ok::*; // glob_ok::something +use single_err::something; //~ ERROR unresolved import `single_err::something` +use something::something_else; + +fn main() {} |