diff options
author | John Hodge <tpg@mutabah.net> | 2016-12-15 18:49:06 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-12-15 18:49:06 +0800 |
commit | e91aec61b780eb166fd1813a3fe7484574f3155e (patch) | |
tree | 3b62dec3491a055c72efe8229cdd85d2aa939f88 /src/hir_expand/closures.cpp | |
parent | 2a45f78605089afebfaf628aac50fc5fd51dfb25 (diff) | |
download | mrust-e91aec61b780eb166fd1813a3fe7484574f3155e.tar.gz |
HIR - Linkage anntation (un-populated)
Diffstat (limited to 'src/hir_expand/closures.cpp')
-rw-r--r-- | src/hir_expand/closures.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hir_expand/closures.cpp b/src/hir_expand/closures.cpp index 4ffc88ac..2f593a1d 100644 --- a/src/hir_expand/closures.cpp +++ b/src/hir_expand/closures.cpp @@ -294,6 +294,7 @@ namespace { mv$(params), mv$(trait_params), mv$(closure_type), make_map1( ::std::string("call_once"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function { + ::HIR::Linkage {}, ::HIR::Function::Receiver::Value, ABI_RUST, false, false, {}, @@ -331,6 +332,7 @@ namespace { mv$(params), mv$(trait_params), mv$(closure_type), make_map1( ::std::string("call_mut"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function { + ::HIR::Linkage {}, ::HIR::Function::Receiver::BorrowUnique, ABI_RUST, false, false, {}, @@ -366,6 +368,7 @@ namespace { mv$(params), mv$(trait_params), mv$(closure_type), make_map1( ::std::string("call"), ::HIR::TraitImpl::ImplEnt< ::HIR::Function> { false, ::HIR::Function { + ::HIR::Linkage {}, ::HIR::Function::Receiver::BorrowShared, ABI_RUST, false, false, {}, |