Function rustc_ty_utils::consts::thir_abstract_const
source ยท fn thir_abstract_const<'tcx>(
tcx: TyCtxt<'tcx>,
def: LocalDefId,
) -> Result<Option<EarlyBinder<'tcx, Const<'tcx>>>, ErrorGuaranteed>
Expand description
Builds an abstract const, do not use this directly, but use AbstractConst::new
instead.