We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb0ac06 commit efdb663Copy full SHA for efdb663
1 file changed
clippy_lints/src/pointer_in_nomem_asm_block.rs
@@ -12,9 +12,8 @@ fn has_in_operand_pointer(cx: &LateContext<'_>, asm_op: &InlineAsmOperand<'_>) -
12
| InlineAsmOperand::Const { .. }
13
| InlineAsmOperand::SymFn { .. }
14
| InlineAsmOperand::Label { .. } => return false,
15
- InlineAsmOperand::In { expr, .. } => expr,
16
- InlineAsmOperand::InOut { expr, .. } => expr,
17
InlineAsmOperand::SplitInOut { in_expr, .. } => in_expr,
+ InlineAsmOperand::In { expr, .. } | InlineAsmOperand::InOut { expr, .. } => expr,
18
};
19
20
// This checks for raw ptrs, refs and function pointers - the last one
0 commit comments