fn adt_consider_insignificant_dtor<'tcx>(
    tcx: TyCtxt<'tcx>
) -> impl Fn(&AdtDef) -> Option<DtorType> + 'tcx