diff options
Diffstat (limited to 'src/ast/path.hpp')
-rw-r--r-- | src/ast/path.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/path.hpp b/src/ast/path.hpp index 818d26eb..f8a852c6 100644 --- a/src/ast/path.hpp +++ b/src/ast/path.hpp @@ -18,6 +18,7 @@ class TypeRef; namespace HIR { class Module; +class Trait; } // namespace HIR namespace AST { @@ -51,6 +52,7 @@ TAGGED_UNION_EX(PathBinding, (), Unbound, ( }), (Trait, struct { const Trait* trait_; + const ::HIR::Trait* hir = nullptr; }), (Static, struct { const Static* static_; |