diff options
author | Nick Fitzgerald <fitzgen@gmail.com> | 2017-02-07 14:40:59 -0800 |
---|---|---|
committer | Nick Fitzgerald <fitzgen@gmail.com> | 2017-02-08 10:08:36 -0800 |
commit | a69b50b01641f797d25a8caa60b036eb360550e3 (patch) | |
tree | 2275baf7815fa16ccefb2c27e5023d0321efb80b /src/codegen | |
parent | abb10933a43599db506138c01285ada9f5fce114 (diff) |
Rename TypeKind::TemplateRef to TypeKind::TemplateInstantiation
Diffstat (limited to 'src/codegen')
-rw-r--r-- | src/codegen/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen/mod.rs b/src/codegen/mod.rs index d3e204ce..0d605c14 100644 --- a/src/codegen/mod.rs +++ b/src/codegen/mod.rs @@ -521,7 +521,7 @@ impl CodeGenerator for Type { TypeKind::Pointer(..) | TypeKind::BlockPointer | TypeKind::Reference(..) | - TypeKind::TemplateRef(..) | + TypeKind::TemplateInstantiation(..) | TypeKind::Function(..) | TypeKind::ResolvedTypeRef(..) | TypeKind::Named => { @@ -2180,7 +2180,7 @@ impl ToRustTy for Type { let path = item.namespace_aware_canonical_path(ctx); aster::AstBuilder::new().ty().path().ids(path).build() } - TypeKind::TemplateRef(inner, ref template_args) => { + TypeKind::TemplateInstantiation(inner, ref template_args) => { // PS: Sorry for the duplication here. let mut inner_ty = inner.to_rust_ty(ctx).unwrap(); |