summaryrefslogtreecommitdiff
path: root/src/expand
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2017-01-05 22:43:55 +0800
committerJohn Hodge <tpg@mutabah.net>2017-01-05 22:43:55 +0800
commit99e9a75b4d64e6fe780b39530826a7b6becbce3c (patch)
tree7cad195af98f6613bb462d8882de9f307ae43665 /src/expand
parent15d9f1afe308055475384b28ca5952311729603c (diff)
downloadmrust-99e9a75b4d64e6fe780b39530826a7b6becbce3c.tar.gz
Expand derive - No `self` in RustcDecodable::decode
Diffstat (limited to 'src/expand')
-rw-r--r--src/expand/derive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expand/derive.cpp b/src/expand/derive.cpp
index 972ee442..58eb1f96 100644
--- a/src/expand/derive.cpp
+++ b/src/expand/derive.cpp
@@ -1849,7 +1849,7 @@ class Deriver_RustcDecodable:
ABI_RUST, false, false, false,
TypeRef(sp, result_path),
vec$(
- ::std::make_pair( AST::Pattern(AST::Pattern::TagBind(), "self"), TypeRef(TypeRef::TagReference(), sp, false, TypeRef(sp, "Self", 0xFFFF)) ),
+ //::std::make_pair( AST::Pattern(AST::Pattern::TagBind(), "self"), TypeRef(TypeRef::TagReference(), sp, false, TypeRef(sp, "Self", 0xFFFF)) ),
::std::make_pair( AST::Pattern(AST::Pattern::TagBind(), "d"), TypeRef(TypeRef::TagReference(), sp, true, TypeRef(sp, "D", 0x100|0)) )
)
);