summaryrefslogtreecommitdiff
path: root/src/hir_conv/constant_evaluation.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2019-02-03 17:48:32 +0800
committerJohn Hodge <tpg@ucc.asn.au>2019-02-03 17:48:32 +0800
commit42b9c8704fe4aab25e8f9d0cca15a74b025eee43 (patch)
tree2fc5e86fc800c42290c486a417b33ad1f1b7ad09 /src/hir_conv/constant_evaluation.cpp
parent4960edb7d948e43efc58a28ecd05fa9237c8d240 (diff)
downloadmrust-42b9c8704fe4aab25e8f9d0cca15a74b025eee43.tar.gz
HIR - Minimally-tested support for `extern { type }`
Diffstat (limited to 'src/hir_conv/constant_evaluation.cpp')
-rw-r--r--src/hir_conv/constant_evaluation.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hir_conv/constant_evaluation.cpp b/src/hir_conv/constant_evaluation.cpp
index 43a64bbb..3d1bf4a5 100644
--- a/src/hir_conv/constant_evaluation.cpp
+++ b/src/hir_conv/constant_evaluation.cpp
@@ -169,6 +169,8 @@ namespace {
),
(Enum,
),
+ (ExternType,
+ ),
(TypeAlias,
)
)