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.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index 06535dfb..ca79a0c1 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -75,6 +75,9 @@ struct TypeRef
::std::unique_ptr<TypeRef> inner;
::HIR::ExprPtr size;
}),
+ (Slice, struct {
+ ::std::unique_ptr<TypeRef> inner;
+ }),
(Tuple, ::std::vector<TypeRef>),
(Borrow, struct {
::HIR::BorrowType type;