about summary refs log tree commit diff
path: root/compiler/rustc_middle
diff options
context:
space:
mode:
authorcodemountains <4kz12zz@gmail.com>2024-10-04 21:59:04 +0900
committercodemountains <4kz12zz@gmail.com>2024-10-06 23:28:30 +0900
commit6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc (patch)
tree8f10da84490eea3e6d7635c58758d0e635cf7117 /compiler/rustc_middle
parent68301a6a968326bac8b85b04d5ef7e79cc042a00 (diff)
downloadrust-6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc.tar.gz
rust-6dfc4a0473ed0901b9c0d09f5189c41f3882d5fc.zip
Rename NestedMetaItem to MetaItemInner
Diffstat (limited to 'compiler/rustc_middle')
-rw-r--r--compiler/rustc_middle/src/ty/context.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs
index 27c1b88f93f..4a02fce5e7d 100644
--- a/compiler/rustc_middle/src/ty/context.rs
+++ b/compiler/rustc_middle/src/ty/context.rs
@@ -1451,9 +1451,8 @@ impl<'tcx> TyCtxt<'tcx> {
             debug!("layout_scalar_valid_range: attr={:?}", attr);
             if let Some(
                 &[
-                    ast::NestedMetaItem::Lit(ast::MetaItemLit {
-                        kind: ast::LitKind::Int(a, _),
-                        ..
+                    ast::MetaItemInner::Lit(ast::MetaItemLit {
+                        kind: ast::LitKind::Int(a, _), ..
                     }),
                 ],
             ) = attr.meta_item_list().as_deref()