summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-09-27 12:53:15 +0800
committerJohn Hodge <tpg@mutabah.net>2016-09-27 12:53:15 +0800
commit93f6bc5fa72608ea8f032a429ae4d1613befc04c (patch)
treeef470c7c44c415e5d4b5844ff58e5df1f2d7eb4d
parentf068132ac1c57082bbb2fe851bd0865e1d5c1d94 (diff)
downloadmrust-93f6bc5fa72608ea8f032a429ae4d1613befc04c.tar.gz
HIR Deserialise - Handle `PAT_ITEM`
-rw-r--r--src/hir/deserialise.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hir/deserialise.cpp b/src/hir/deserialise.cpp
index 08662fe2..29605e78 100644
--- a/src/hir/deserialise.cpp
+++ b/src/hir/deserialise.cpp
@@ -313,6 +313,7 @@ namespace {
case ::MacroPatEnt::PAT_STMT:
case ::MacroPatEnt::PAT_BLOCK:
case ::MacroPatEnt::PAT_META:
+ case ::MacroPatEnt::PAT_ITEM:
break;
default:
throw "";