summaryrefslogtreecommitdiff
path: root/src/hir/from_ast.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-08-11 10:13:18 +0800
committerJohn Hodge <tpg@mutabah.net>2016-08-11 10:13:18 +0800
commit1ecde512a0757c0e5dd3bce6c267d76a757bd4e9 (patch)
treef2c4e3a50c6e7b885f588398ff1e1c398e8272a1 /src/hir/from_ast.cpp
parent0767462da25193c3e39080e8ffe71ad8c0963d3c (diff)
downloadmrust-1ecde512a0757c0e5dd3bce6c267d76a757bd4e9.tar.gz
All - Clang warning fixes
Diffstat (limited to 'src/hir/from_ast.cpp')
-rw-r--r--src/hir/from_ast.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/from_ast.cpp b/src/hir/from_ast.cpp
index 7b8707a7..ebf2e2a6 100644
--- a/src/hir/from_ast.cpp
+++ b/src/hir/from_ast.cpp
@@ -762,7 +762,7 @@ namespace {
this_trait.m_params.m_types.push_back( ::HIR::TypeRef(arg.m_name, i) );
i ++;
}
- rv.m_params.m_bounds.push_back( ::HIR::GenericBound::make_TraitBound({ ::HIR::TypeRef("Self",0xFFFF), mv$(this_trait) }) );
+ rv.m_params.m_bounds.push_back( ::HIR::GenericBound::make_TraitBound({ ::HIR::TypeRef("Self",0xFFFF), { mv$(this_trait) } }) );
}
for(const auto& item : f.items())