### Steps 1. Pass `&Cache` where it will be needed for `def_id()`. 1. Replace all uses of `def_id_no_primitives()` with `def_id()`. 2. Remove `def_id_no_primitives()` and simplify `Type::inner_def_id()`. <!-- TRIAGEBOT_START --> <!-- TRIAGEBOT_ASSIGN_START --> <!-- TRIAGEBOT_ASSIGN_DATA_START$${"user":"mfrw"}$$TRIAGEBOT_ASSIGN_DATA_END --> <!-- TRIAGEBOT_ASSIGN_END --> <!-- TRIAGEBOT_END -->
Steps
&Cachewhere it will be needed fordef_id().def_id_no_primitives()withdef_id().def_id_no_primitives()and simplifyType::inner_def_id().