summaryrefslogtreecommitdiff
path: root/src/resolve/index.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-12 10:04:54 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-12 10:04:54 +0800
commit496b69d8b603e69f728320d1db8155a4575afdd0 (patch)
treea644fa9d587474e35568df2b10d0faf5d89408f1 /src/resolve/index.cpp
parent87bf82225fa2dde2f1db4b2d4eb12c349058c05b (diff)
downloadmrust-496b69d8b603e69f728320d1db8155a4575afdd0.tar.gz
Expand - Clear deleted anon modules inside anon modules
Diffstat (limited to 'src/resolve/index.cpp')
-rw-r--r--src/resolve/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/index.cpp b/src/resolve/index.cpp
index 089edd66..3a309305 100644
--- a/src/resolve/index.cpp
+++ b/src/resolve/index.cpp
@@ -218,7 +218,7 @@ void Resolve_Index_Module_Base(const AST::Crate& crate, AST::Module& mod)
}
};
if( i_data.path.binding().is_Unbound() ) {
- BUG(sp, "Import left unbound ("<<i_data.path<<")");
+ BUG(sp, "`use " << i_data.path << "` left unbound in module " << mod.path());
}
else {
H::handle_pb(sp, mod, i, i_data.path.binding(), false);