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