1
Fork 0

Avoid invoking the intrinsic query for DefKinds other than Fn or AssocFn

This commit is contained in:
Oli Scherer 2024-03-05 04:29:12 +00:00
parent c04f0caaff
commit b0f71f109e
4 changed files with 12 additions and 8 deletions

View file

@ -356,7 +356,7 @@ provide! { tcx, def_id, other, cdata,
cdata.get_stability_implications(tcx).iter().copied().collect()
}
stripped_cfg_items => { cdata.get_stripped_cfg_items(cdata.cnum, tcx) }
intrinsic => { cdata.get_intrinsic(def_id.index) }
intrinsic_raw => { cdata.get_intrinsic(def_id.index) }
defined_lang_items => { cdata.get_lang_items(tcx) }
diagnostic_items => { cdata.get_diagnostic_items() }
missing_lang_items => { cdata.get_missing_lang_items(tcx) }