diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-04-12 21:39:40 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-04-12 21:39:40 +0200 |
commit | ca0c87d381ea807b3beff5109b8fa2541ea42536 (patch) | |
tree | 2d82aae2f6ecc82f87368d2d948014e47d1d1b8d | |
parent | 4f5c53a5c4c9facef5cd72808b223c6326ad1275 (diff) |
gen: Add saw_union field to GenCtx
-rw-r--r-- | src/gen.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,7 @@ struct GenCtx<'r> { span: Span, module_map: ModuleMap, current_module_id: ModuleId, + saw_union: bool, } impl<'r> GenCtx<'r> { @@ -296,6 +297,7 @@ pub fn gen_mods(links: &[(String, LinkType)], span: span, module_map: map, current_module_id: ROOT_MODULE_ID, + saw_union: false, }; ctx.ext_cx.bt_push(ExpnInfo { |