Function check_const_item

Source
fn check_const_item(
    tcx: TyCtxt<'_>,
    def_id: LocalDefId,
    ty_span: Span,
    item_span: Span,
) -> Result<(), ErrorGuaranteed>