summaryrefslogtreecommitdiff
path: root/src/resolve/index.cpp
diff options
context:
space:
mode:
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);