diff options
| author | codemountains <4kz12zz@gmail.com> | 2024-10-04 21:59:04 +0900 |
|---|---|---|
| committer | codemountains <4kz12zz@gmail.com> | 2024-10-06 23:28:30 +0900 |
| commit | 6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc (patch) | |
| tree | 8f10da84490eea3e6d7635c58758d0e635cf7117 /compiler/rustc_expand/src/expand.rs | |
| parent | 68301a6a968326bac8b85b04d5ef7e79cc042a00 (diff) | |
| download | rust-6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc.tar.gz rust-6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc.zip | |
Rename NestedMetaItem to MetaItemInner
Diffstat (limited to 'compiler/rustc_expand/src/expand.rs')
| -rw-r--r-- | compiler/rustc_expand/src/expand.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_expand/src/expand.rs b/compiler/rustc_expand/src/expand.rs index 079dcee99d3..5347381c3c3 100644 --- a/compiler/rustc_expand/src/expand.rs +++ b/compiler/rustc_expand/src/expand.rs @@ -11,7 +11,7 @@ use rustc_ast::tokenstream::TokenStream; use rustc_ast::visit::{self, AssocCtxt, Visitor, VisitorResult, try_visit, walk_list}; use rustc_ast::{ AssocItemKind, AstNodeWrapper, AttrArgs, AttrStyle, AttrVec, ExprKind, ForeignItemKind, - HasAttrs, HasNodeId, Inline, ItemKind, MacStmtStyle, MetaItemKind, ModKind, NestedMetaItem, + HasAttrs, HasNodeId, Inline, ItemKind, MacStmtStyle, MetaItemInner, MetaItemKind, ModKind, NodeId, PatKind, StmtKind, TyKind, }; use rustc_ast_pretty::pprust; @@ -1864,7 +1864,7 @@ impl<'a, 'b> InvocationCollector<'a, 'b> { .filter(|a| a.has_name(sym::derive)) .flat_map(|a| a.meta_item_list().unwrap_or_default()) .filter_map(|nested_meta| match nested_meta { - NestedMetaItem::MetaItem(ast::MetaItem { + MetaItemInner::MetaItem(ast::MetaItem { kind: MetaItemKind::Word, path, .. |
