{"ast_node_type":"other","tokens":[{"end":81,"kind":"keyword","start":0,"text":"match"}]}
    match checker.impl_header.trait_ref.instantiate_identity().self_ty().kind() {
    // Destructors only work on local ADT types.
        ty::Adt(def, _) if def.did().is_local() => return Ok(()),