{"ast_node_type":"other","tokens":[{"end":51,"kind":"keyword","start":0,"text":"ty::Foreign(did)"}]}
                ty::Foreign(did) => did.is_local(),
                ty::Adt(def, _) => def.did().is_local(),
                ty::Dynamic(tr, ..) => tr.principal().is_some_and(|d| d.def_id().is_local()),