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