about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2021-06-20 18:10:02 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2021-06-20 18:48:42 +0300
commit3f0729f37877d32565a6829327db84a84b27fc3b (patch)
treee7c8f178efeacc1c9b6984fc0fb1f167ca27ab5e /compiler/rustc_resolve/src
parent75d1500f028d0e5dcb3978b873bf2d0a0be9c75f (diff)
downloadrust-3f0729f37877d32565a6829327db84a84b27fc3b.tar.gz
rust-3f0729f37877d32565a6829327db84a84b27fc3b.zip
expand: Move some more derive logic to `rustc_builtin_macros`
Diffstat (limited to 'compiler/rustc_resolve/src')
-rw-r--r--compiler/rustc_resolve/src/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/macros.rs b/compiler/rustc_resolve/src/macros.rs
index 3f7db2b6962..38d052f988c 100644
--- a/compiler/rustc_resolve/src/macros.rs
+++ b/compiler/rustc_resolve/src/macros.rs
@@ -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(