fn check_specialization_on<'tcx>(
    tcx: TyCtxt<'tcx>,
    predicate: Predicate<'tcx>,
    span: Span
)