summaryrefslogtreecommitdiff
path: root/src/hir/from_ast_expr.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-05-29 08:50:39 +0800
committerJohn Hodge <tpg@mutabah.net>2016-05-29 08:50:39 +0800
commita8d2de3db9d9f92013d0ac6e52319b55590efea4 (patch)
tree1f85c37a21df5379518f2567a34eb3f174cb790f /src/hir/from_ast_expr.cpp
parent727e254fe58274741036ca31f4c3eae2f3e1695a (diff)
downloadmrust-a8d2de3db9d9f92013d0ac6e52319b55590efea4.tar.gz
AST - Remove dead code, add lifetime params, fix param clobber
Diffstat (limited to 'src/hir/from_ast_expr.cpp')
-rw-r--r--src/hir/from_ast_expr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast_expr.cpp b/src/hir/from_ast_expr.cpp
index d9982da9..f5e9b31a 100644
--- a/src/hir/from_ast_expr.cpp
+++ b/src/hir/from_ast_expr.cpp
@@ -237,7 +237,7 @@ struct LowerHIR_ExprNode_Visitor:
// TODO: Should this be abstracted?
::HIR::PathParams params;
- for(const auto& param : v.m_method.args())
+ for(const auto& param : v.m_method.args().m_types)
params.m_types.push_back( LowerHIR_Type(param) );
m_rv.reset( new ::HIR::ExprNode_CallMethod(