use LocalDefId instead of HirId in trait resolution to simplify the obligation clause resolution
#103902
+265
−280