Make asm a named field
This commit is contained in:
parent
794c12416b
commit
2a6daaf89a
23 changed files with 30 additions and 28 deletions
|
@ -479,7 +479,7 @@ fn collect_items_rec<'tcx>(
|
|||
recursion_depth_reset = None;
|
||||
|
||||
let item = tcx.hir_item(item_id);
|
||||
if let hir::ItemKind::GlobalAsm(asm) = item.kind {
|
||||
if let hir::ItemKind::GlobalAsm { asm } = item.kind {
|
||||
for (op, op_sp) in asm.operands {
|
||||
match op {
|
||||
hir::InlineAsmOperand::Const { .. } => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue