Deduplicate some rustc_middle function bodies by calling the rustc_type_ir equivalent - #139313
Merged
rustc_middle function bodies by calling the rustc_type_ir equivalent - #139313