Skip to content

Commit 486a51f

Browse files
committed
Fix compilation after asm goto support
1 parent 9be2d5b commit 486a51f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/monomorphize_collector.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ fn collect_items_rec<'tcx>(
300300
hir::InlineAsmOperand::In { .. }
301301
| hir::InlineAsmOperand::Out { .. }
302302
| hir::InlineAsmOperand::InOut { .. }
303-
| hir::InlineAsmOperand::SplitInOut { .. } => {
303+
| hir::InlineAsmOperand::SplitInOut { .. }
304+
| hir::InlineAsmOperand::Label { .. } => {
304305
span_bug!(*op_sp, "invalid operand type for global_asm!")
305306
}
306307
}

0 commit comments

Comments
 (0)