Function rustc_const_eval::transform::check_consts::qualifs::in_place

source ·
pub fn in_place<'tcx, Q, F>(
    cx: &ConstCx<'_, 'tcx>,
    in_local: &mut F,
    place: PlaceRef<'tcx>
) -> bool
where Q: Qualif, F: FnMut(Local) -> bool,
Expand description

Returns true if this Place contains qualif Q.