Add the #[derive_const]
attribute
This commit is contained in:
parent
4af79ccd5e
commit
a052f2cce1
30 changed files with 163 additions and 30 deletions
|
@ -356,7 +356,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