summaryrefslogtreecommitdiff
path: root/src/expand/mod.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-19 22:08:24 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-19 22:08:24 +0800
commitc805e9e03db7e7b48f04824ccf5e625a20032af9 (patch)
treebf27192754ffa315a522391abe91378801e47ca5 /src/expand/mod.cpp
parent0ad915eb4919e8bdb036015f221b57c7f3de912c (diff)
downloadmrust-c805e9e03db7e7b48f04824ccf5e625a20032af9.tar.gz
AST - Support ! as a real type
Diffstat (limited to 'src/expand/mod.cpp')
-rw-r--r--src/expand/mod.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expand/mod.cpp b/src/expand/mod.cpp
index d4c117b1..3fb0c648 100644
--- a/src/expand/mod.cpp
+++ b/src/expand/mod.cpp
@@ -191,6 +191,8 @@ void Expand_Type(bool is_early, ::AST::Crate& crate, LList<const AST::Module*> m
),
(Unit,
),
+ (Bang,
+ ),
(Macro,
auto tt = Expand_Macro(is_early, crate, modstack, mod, e.inv);
TODO(e.inv.span(), "Expand macro invocation in type");