impl_for_typed_def_id
It has a single call site and removing it makes the code simpler. Perhaps there were more uses at some point in the past?