Function rustc_trait_selection::traits::const_evaluatable::thir_abstract_const [−][src]
pub(super) fn thir_abstract_const<'tcx>(
tcx: TyCtxt<'tcx>,
def: WithOptConstParam<LocalDefId>
) -> Result<Option<&'tcx [Node<'tcx>]>, ErrorReported>
Expand description
Builds an abstract const, do not use this directly, but use AbstractConst::new
instead.