summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-26 16:51:16 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-26 16:51:16 +0800
commited7017e42e6a36f5ab24ed970f5c743187f2c012 (patch)
tree053c66e2a0fce98527753a8f0a85e646e5e94c0a
parentd19d0e58bfdeddb20f63954237090ff9635612a2 (diff)
downloadmrust-ed7017e42e6a36f5ab24ed970f5c743187f2c012.tar.gz
Resolve Index - Glob crates
-rw-r--r--src/resolve/index.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resolve/index.cpp b/src/resolve/index.cpp
index 66a9ec3d..93e5c742 100644
--- a/src/resolve/index.cpp
+++ b/src/resolve/index.cpp
@@ -394,7 +394,9 @@ void Resolve_Index_Module_Wildcard(AST::Crate& crate, AST::Module& mod, bool han
),
(Crate,
- TODO(sp, "Glob import of crate");
+ DEBUG("Glob crate " << i_data.path);
+ const auto& hmod = e.crate_->m_hir->m_root_module;
+ Resolve_Index_Module_Wildcard__glob_in_hir_mod(sp, crate, mod, hmod, i_data.path, i.is_pub);
),
(Module,
DEBUG("Glob mod " << i_data.path);