pub fn thir_abstract_const<'tcx>(
    tcx: TyCtxt<'tcx>,
    def: WithOptConstParam<LocalDefId>
) -> Result<Option<&'tcx [Node<'tcx>]>, ErrorGuaranteed>
Expand description

Builds an abstract const, do not use this directly, but use AbstractConst::new instead.