expand: Move some more derive logic to rustc_builtin_macros
This commit is contained in:
parent
75d1500f02
commit
3f0729f378
5 changed files with 13 additions and 38 deletions
|
@ -380,7 +380,7 @@ impl<'a> ResolverExpand for Resolver<'a> {
|
|||
has_derive_copy: false,
|
||||
});
|
||||
let parent_scope = self.invocation_parent_scopes[&expn_id];
|
||||
for (i, (path, opt_ext)) in entry.resolutions.iter_mut().enumerate() {
|
||||
for (i, (path, _, opt_ext)) in entry.resolutions.iter_mut().enumerate() {
|
||||
if opt_ext.is_none() {
|
||||
*opt_ext = Some(
|
||||
match self.resolve_macro_path(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue