summaryrefslogtreecommitdiff
path: root/src/ast/path.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r--src/ast/path.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp
index dbb92cde..818d26eb 100644
--- a/src/ast/path.hpp
+++ b/src/ast/path.hpp
@@ -16,6 +16,10 @@
class TypeRef;
+namespace HIR {
+class Module;
+} // namespace HIR
+
namespace AST {
class GenericParams;
@@ -37,6 +41,7 @@ TAGGED_UNION_EX(PathBinding, (), Unbound, (
}),
(Module, struct {
const Module* module_;
+ const ::HIR::Module* hir = nullptr;
}),
(Enum, struct {
const Enum* enum_;