summaryrefslogtreecommitdiff
path: root/src/hir/type.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-07-21 12:15:42 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-07-21 12:15:42 +0800
commit0a45ac7c93e4e8584fef15b6f2896528a9dbffdd (patch)
treef2ca96a28099623c59d228c446e359027ad6dabb /src/hir/type.hpp
parent9b419ffea75dabd4f5c870031ac003b6d2abecf8 (diff)
downloadmrust-0a45ac7c93e4e8584fef15b6f2896528a9dbffdd.tar.gz
HIR - Partial support for large arrays (may fail downstream with overflows)
Diffstat (limited to 'src/hir/type.hpp')
-rw-r--r--src/hir/type.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/type.hpp b/src/hir/type.hpp
index 13300bbc..e61c9ec7 100644
--- a/src/hir/type.hpp
+++ b/src/hir/type.hpp
@@ -220,7 +220,7 @@ public:
(Array, struct {
::std::unique_ptr<TypeRef> inner;
::std::shared_ptr<::HIR::ExprPtr> size;
- size_t size_val;
+ uint64_t size_val;
}),
(Slice, struct {
::std::unique_ptr<TypeRef> inner;