summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2018-12-29 15:24:12 +0800
committerJohn Hodge <tpg@mutabah.net>2018-12-29 15:24:12 +0800
commitbe45bb67e1cbcb3c68cdf6f5c9353ce98c67ee2e (patch)
tree82796e5c340b3d1835e688539f6ad3574fb38dee
parent33e23617276a6fd91cba8f3e223cb9bdc8b023bd (diff)
downloadmrust-be45bb67e1cbcb3c68cdf6f5c9353ce98c67ee2e.tar.gz
HIR Deserialise - Handle :vis macro fragment
-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 30f88843..70ff1a34 100644
--- a/src/hir/deserialise.cpp
+++ b/src/hir/deserialise.cpp
@@ -268,6 +268,7 @@
case ::MacroPatEnt::PAT_BLOCK:
case ::MacroPatEnt::PAT_META:
case ::MacroPatEnt::PAT_ITEM:
+ case ::MacroPatEnt::PAT_VIS:
break;
default:
BUG(Span(), "Bad tag for MacroPatEnt - #" << static_cast<int>(rv.type) << " " << rv.type);