]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_passes/src/intrinsicck.rs
Auto merge of #79780 - camelid:use-summary_opts, r=GuillaumeGomez
[rust.git] / compiler / rustc_passes / src / intrinsicck.rs
index 956be925be815eac5b223d198ec1f47b3da6ac06..711e8e87c6c6e7d70133e7b24c7a305b752ab7ab 100644 (file)
@@ -347,7 +347,7 @@ fn check_asm_operand_type(
     }
 
     fn check_asm(&self, asm: &hir::InlineAsm<'tcx>) {
-        for (idx, op) in asm.operands.iter().enumerate() {
+        for (idx, (op, _op_sp)) in asm.operands.iter().enumerate() {
             match *op {
                 hir::InlineAsmOperand::In { reg, ref expr } => {
                     self.check_asm_operand_type(idx, reg, expr, asm.template, None);