diff options
author | John Hodge <tpg@mutabah.net> | 2016-10-24 08:39:49 +0800 |
---|---|---|
committer | John Hodge <tpg@mutabah.net> | 2016-10-24 08:39:49 +0800 |
commit | 4d6039f0755b88c135492d80e18ab640d402de88 (patch) | |
tree | 3382668660eb4061544ae6861e304fed02113e05 /src/expand/derive.cpp | |
parent | 9aa1f89f273b6acdd171543498bec661a04118fa (diff) | |
download | mrust-4d6039f0755b88c135492d80e18ab640d402de88.tar.gz |
AST - Remove separate impls list (now in item list)
Diffstat (limited to 'src/expand/derive.cpp')
-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 668ecc9b..d8114e35 100644 --- a/src/expand/derive.cpp +++ b/src/expand/derive.cpp @@ -1704,7 +1704,7 @@ static void derive_item(const Span& sp, const AST::Crate& crate, AST::Module& mo continue ; } - mod.add_impl( dp->handle_item(sp, (crate.m_load_std == ::AST::Crate::LOAD_NONE ? "" : "core"), params, type, item) ); + mod.add_item(false, "", dp->handle_item(sp, (crate.m_load_std == ::AST::Crate::LOAD_NONE ? "" : "core"), params, type, item), {} ); } if( fail ) { |