expand/resolve: Turn #[derive] into a regular macro attribute
This commit is contained in:
@@ -27,6 +27,7 @@ mod cfg_accessible;
|
||||
mod compile_error;
|
||||
mod concat;
|
||||
mod concat_idents;
|
||||
mod derive;
|
||||
mod deriving;
|
||||
mod env;
|
||||
mod format;
|
||||
@@ -88,6 +89,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
|
||||
register_attr! {
|
||||
bench: test::expand_bench,
|
||||
cfg_accessible: cfg_accessible::Expander,
|
||||
derive: derive::Expander,
|
||||
global_allocator: global_allocator::expand,
|
||||
test: test::expand_test,
|
||||
test_case: test::expand_test_case,
|
||||
|
||||
Reference in New Issue
Block a user