summaryrefslogtreecommitdiff
path: root/src/hir/expr_state.hpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2019-10-22 21:22:54 +0800
committerJohn Hodge <tpg@mutabah.net>2019-10-22 21:22:54 +0800
commit64e60f872d04053b43afb7b7eb164c3ffd6dbcfb (patch)
treefc59d8461d4e5f0f13b2ebee36e3a4022acf5067 /src/hir/expr_state.hpp
parentd413820fa8bedf5e9dab047e4dd45a6f57d62eef (diff)
downloadmrust-64e60f872d04053b43afb7b7eb164c3ffd6dbcfb.tar.gz
HIR Const Eval - Ensure that requisite items are constevaled before attempting downstream
Diffstat (limited to 'src/hir/expr_state.hpp')
-rw-r--r--src/hir/expr_state.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hir/expr_state.hpp b/src/hir/expr_state.hpp
index 6151fb6b..139c400d 100644
--- a/src/hir/expr_state.hpp
+++ b/src/hir/expr_state.hpp
@@ -23,6 +23,8 @@ public:
enum class Stage {
Created,
+ ConstEvalRequest,
+ ConstEval,
TypecheckRequest,
Typecheck,
MirRequest,