rustc_middle reexports all of rustc_type_ir and should be preferred in case it is available. We should lint if a crate depends on both rustc_middle and rustc_type_ir and rewrite all existing uses of rustc_type_ir in such crates to use rustc_middle::ty instead.
cc @compiler-errors
rustc_middlereexports all ofrustc_type_irand should be preferred in case it is available. We should lint if a crate depends on bothrustc_middleandrustc_type_irand rewrite all existing uses ofrustc_type_irin such crates to userustc_middle::tyinstead.cc @compiler-errors