Function rustc_mir_build::build::expr::as_constant::as_constant_inner
source · pub fn as_constant_inner<'tcx>(
expr: &Expr<'tcx>,
push_cuta: impl FnMut(&Box<CanonicalUserType<'tcx>>) -> Option<UserTypeAnnotationIndex>,
tcx: TyCtxt<'tcx>
) -> ConstOperand<'tcx>