about summary refs log tree commit diff
path: root/compiler/rustc_expand/src/expand.rs
diff options
context:
space:
mode:
authorcodemountains <4kz12zz@gmail.com>2024-10-07 08:49:47 +0900
committercodemountains <4kz12zz@gmail.com>2024-10-07 15:22:03 +0900
commitfc64ff7ec2aad5261365c0cfc033f65140828eb2 (patch)
tree8c307b84dd716ea26f3d7f23c69c252d83776362 /compiler/rustc_expand/src/expand.rs
parent6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc (diff)
downloadrust-fc64ff7ec2aad5261365c0cfc033f65140828eb2.tar.gz
rust-fc64ff7ec2aad5261365c0cfc033f65140828eb2.zip
Rename nested_meta to meta_item_inner
Diffstat (limited to 'compiler/rustc_expand/src/expand.rs')
-rw-r--r--compiler/rustc_expand/src/expand.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/expand.rs b/compiler/rustc_expand/src/expand.rs
index 5347381c3c3..a872b12e744 100644
--- a/compiler/rustc_expand/src/expand.rs
+++ b/compiler/rustc_expand/src/expand.rs
@@ -1863,7 +1863,7 @@ impl<'a, 'b> InvocationCollector<'a, 'b> {
                         .iter()
                         .filter(|a| a.has_name(sym::derive))
                         .flat_map(|a| a.meta_item_list().unwrap_or_default())
-                        .filter_map(|nested_meta| match nested_meta {
+                        .filter_map(|meta_item_inner| match meta_item_inner {
                             MetaItemInner::MetaItem(ast::MetaItem {
                                 kind: MetaItemKind::Word,
                                 path,