summaryrefslogtreecommitdiff
path: root/src/hir_expand/closures.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2016-10-12 13:16:18 +0800
committerJohn Hodge <tpg@mutabah.net>2016-10-12 13:16:18 +0800
commit912b426c753dd0c1de2acdf80dee6eefc5fea409 (patch)
tree5cbcd8bce0da1266f0a84aa5e16b48567bed19c1 /src/hir_expand/closures.cpp
parent27f45b3a201ff3bd39a331c685c1db648a4f11ed (diff)
downloadmrust-912b426c753dd0c1de2acdf80dee6eefc5fea409.tar.gz
Make deault ABI a #define
Diffstat (limited to 'src/hir_expand/closures.cpp')
-rw-r--r--src/hir_expand/closures.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hir_expand/closures.cpp b/src/hir_expand/closures.cpp
index ca117c5d..1c719a77 100644
--- a/src/hir_expand/closures.cpp
+++ b/src/hir_expand/closures.cpp
@@ -290,7 +290,7 @@ namespace {
make_map1(
::std::string("call_once"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function {
::HIR::Function::Receiver::Value,
- "rust", false, false,
+ ABI_RUST, false, false,
{},
make_vec2(
::std::make_pair(::HIR::Pattern { {false, ::HIR::PatternBinding::Type::Move, "self", 0}, {} }, ::HIR::TypeRef("Self", 0xFFFF)),
@@ -323,7 +323,7 @@ namespace {
make_map1(
::std::string("call_mut"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function {
::HIR::Function::Receiver::BorrowUnique,
- "rust", false, false,
+ ABI_RUST, false, false,
{},
make_vec2(
::std::make_pair(
@@ -357,7 +357,7 @@ namespace {
make_map1(
::std::string("call"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function {
::HIR::Function::Receiver::BorrowShared,
- "rust", false, false,
+ ABI_RUST, false, false,
{},
make_vec2(
::std::make_pair(