Auto merge of #131235 - codemountains:rename-nestedmetaitem-to-metaitemlnner, r=nnethercote
Rename `NestedMetaItem` to `MetaItemInner` Fixes #131087 r? `@nnethercote`
This commit is contained in:
commit
0b16baa570
43 changed files with 186 additions and 191 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue