diff options
Diffstat (limited to 'src/resolve/use.cpp')
-rw-r--r-- | src/resolve/use.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/use.cpp b/src/resolve/use.cpp index 55c949b8..4e2874f0 100644 --- a/src/resolve/use.cpp +++ b/src/resolve/use.cpp @@ -262,7 +262,7 @@ void Resolve_Use_Mod(const ::AST::Crate& crate, ::AST::Module& mod, ::AST::Path BUG(span, "Invalid anon path segment '" << des_item_name << "'"); } assert( mod.anon_mods()[idx] ); - return ::AST::PathBinding::make_Module({&*mod.anon_mods()[idx]}); + return ::AST::PathBinding::make_Module({&*mod.anon_mods()[idx], nullptr}); } // Seach for the name defined in the module. |