pub 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.