summaryrefslogtreecommitdiff
path: root/src/expand/derive.cpp
diff options
context:
space:
mode:
authorJohn Hodge <tpg@ucc.asn.au>2017-10-31 12:49:17 +0800
committerJohn Hodge <tpg@ucc.asn.au>2017-10-31 12:49:17 +0800
commit8306f43ccdf0414b48891aa5eb04d8901899c052 (patch)
tree01beecfff49c82bf2152c6b734687aeeccca072c /src/expand/derive.cpp
parent33f7141535e0bc43b338413557616b05ad612548 (diff)
downloadmrust-8306f43ccdf0414b48891aa5eb04d8901899c052.tar.gz
Expand - (minor) Comment about custom derive
Diffstat (limited to 'src/expand/derive.cpp')
-rw-r--r--src/expand/derive.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/expand/derive.cpp b/src/expand/derive.cpp
index 0a74ce67..564f3b0e 100644
--- a/src/expand/derive.cpp
+++ b/src/expand/derive.cpp
@@ -2212,6 +2212,9 @@ static void derive_item(const Span& sp, const AST::Crate& crate, AST::Module& mo
continue ;
}
+ // TODO: Support macros 1.1 custom derive
+ // - Requires support all through the chain.
+
mod.add_item(false, "", dp->handle_item(sp, (crate.m_load_std == ::AST::Crate::LOAD_NONE ? "" : "core"), params, type, item), {} );
}