From 0630f467760671cdfa73c4f12422275280448312 Mon Sep 17 00:00:00 2001 From: Emilio Cobos Álvarez Date: Sat, 28 Oct 2017 13:22:35 +0200 Subject: ir: References have no implicit template parameters. Fixes #1113. --- src/codegen/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen/mod.rs') diff --git a/src/codegen/mod.rs b/src/codegen/mod.rs index 6c1ed02f..53ed24ff 100644 --- a/src/codegen/mod.rs +++ b/src/codegen/mod.rs @@ -268,6 +268,7 @@ impl AppendImplicitTemplateParams for quote::Tokens { TypeKind::Void | TypeKind::NullPtr | TypeKind::Pointer(..) | + TypeKind::Reference(..) | TypeKind::Int(..) | TypeKind::Float(..) | TypeKind::Complex(..) | @@ -280,7 +281,6 @@ impl AppendImplicitTemplateParams for quote::Tokens { TypeKind::ObjCId | TypeKind::ObjCSel | TypeKind::TemplateInstantiation(..) => return, - _ => {}, } -- cgit v1.2.3