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