diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-09 13:03:53 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-09 13:03:53 -0800 |
commit | 0001606737c305eff1bb84162f95023a11bcc055 (patch) | |
tree | 3d1515b094ddcb25435b4aeb5a9a0390a889696a /src/codegen/helpers.rs | |
parent | 0927273e4a5162f0723b7c15e677ec5240b00801 (diff) | |
parent | 5b5d4f8783e82432441c11691712d57c3af5844a (diff) |
Auto merge of #491 - fitzgen:template-instantiation, r=emilio
Template instantiation
I very much suspect this needs a rebase, but I haven't done it yet.
This is the majority of #446, although it doesn't have the name generation for anonymous named types patches yet (that will be a different PR).
Diffstat (limited to 'src/codegen/helpers.rs')
-rw-r--r-- | src/codegen/helpers.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/codegen/helpers.rs b/src/codegen/helpers.rs index 9e19637c..06dadab0 100644 --- a/src/codegen/helpers.rs +++ b/src/codegen/helpers.rs @@ -89,9 +89,7 @@ pub mod ast_ty { let prefix = ctx.rust_ident_raw(prefix); quote_ty!(ctx.ext_cx(), $prefix::$ident) } - None => { - quote_ty!(ctx.ext_cx(), ::std::os::raw::$ident) - } + None => quote_ty!(ctx.ext_cx(), ::std::os::raw::$ident), } } |