Function rustc_const_eval::transform::check_consts::qualifs::in_operand
source · [−]pub fn in_operand<'tcx, Q, F>(
cx: &ConstCx<'_, 'tcx>,
in_local: &mut F,
operand: &Operand<'tcx>
) -> boolwhere
Q: Qualif,
F: FnMut(Local) -> bool,
Expand description
Returns true
if this Operand
contains qualif Q
.