diff options
author | John Hodge <tpg@mutabah.net> | 2017-01-05 22:43:55 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2017-01-05 22:43:55 +0800 |
commit | 99e9a75b4d64e6fe780b39530826a7b6becbce3c (patch) | |
tree | 7cad195af98f6613bb462d8882de9f307ae43665 /src/expand | |
parent | 15d9f1afe308055475384b28ca5952311729603c (diff) | |
download | mrust-99e9a75b4d64e6fe780b39530826a7b6becbce3c.tar.gz |
Expand derive - No `self` in RustcDecodable::decode
Diffstat (limited to 'src/expand')
-rw-r--r-- | src/expand/derive.cpp | 2 |
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)) ) ) ); |