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_middle | |
| parent | 68301a6a968326bac8b85b04d5ef7e79cc042a00 (diff) | |
| download | rust-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.rs | 5 |
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() |
