summaryrefslogtreecommitdiff
path: root/src/hir/type.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-26 11:04:04 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-26 11:04:04 +0800
commit81d89041e8500d9f6dfab9c55aee76967a5233f1 (patch)
tree26452d9973421d917921548e1b2b63950a6ca52b /src/hir/type.hpp
parentdd7680bc0d53f02e4b96b2b3896ebea16742c9bb (diff)
downloadmrust-81d89041e8500d9f6dfab9c55aee76967a5233f1.tar.gz
HIR Cosnt Eval - Initial work, hits TODOs
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;