summaryrefslogtreecommitdiff
path: root/src/hir/type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r--src/hir/type.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index 653777db..52c77fc5 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -17,6 +17,7 @@
namespace HIR {
class Struct;
+class Union;
class Enum;
struct ExprNode_Closure;
@@ -112,6 +113,7 @@ public:
(Unbound, struct {}), // Not yet bound, either during lowering OR during resolution (when associated and still being resolved)
(Opaque, struct {}), // Opaque, i.e. An associated type of a generic (or Self in a trait)
(Struct, const ::HIR::Struct*),
+ (Union, const ::HIR::Union*),
(Enum, const ::HIR::Enum*)
), (), (), (
TypePathBinding clone() const;