InlineAsmOperand::In { value, .. } => {
self.visit_operand(value, location);
}
- InlineAsmOperand::Out { place, .. } => {
- if let Some(place) = place {
- self.visit_place(
- place,
- PlaceContext::MutatingUse(MutatingUseContext::Store),
- location,
- );
- }
+ InlineAsmOperand::Out { place: Some(place), .. } => {
+ self.visit_place(
+ place,
+ PlaceContext::MutatingUse(MutatingUseContext::Store),
+ location,
+ );
}
InlineAsmOperand::InOut { in_value, out_place, .. } => {
self.visit_operand(in_value, location);
| InlineAsmOperand::SymFn { value } => {
self.visit_constant(value, location);
}
- InlineAsmOperand::SymStatic { def_id: _ } => {}
+ InlineAsmOperand::Out { place: None, .. }
+ | InlineAsmOperand::SymStatic { def_id: _ } => {}
}
}
}
StorageDead,
/// User type annotation assertions for NLL.
AscribeUserTy,
- /// The data of an user variable, for debug info.
+ /// The data of a user variable, for debug info.
VarDebugInfo,
}