Make macro def krate mandatory

Refactors builtin derive support to go through proper name resolution
This commit is contained in:
Jonas Schievink 2020-12-15 20:33:05 +01:00
parent c31c3246a8
commit b238ddd21a
14 changed files with 91 additions and 42 deletions

View file

@ -221,6 +221,8 @@ struct Foo<|>;
mod marker {
trait Copy {}
}
#[rustc_builtin_macro]
macro Copy {}
"#,
);
}