fn check_trait_item<'tcx>(
    tcx: TyCtxt<'tcx>,
    trait_item: &'tcx TraitItem<'tcx>
) -> Result<(), ErrorGuaranteed>