627 introduces a use of mir_traits::solve_item_traits in the extraction of types, which are common to THIR and MIR. Thus solve_item_traits should move out of mir_traits.rs.
solve_item_traits should anyway be re-written using the traits rustc_utils::SubstBinder and rustc_utils::PredicateToPolyTraitRef.
This issue has been marked as stale due to a lack of activity for 60 days. If you believe this issue is still relevant, please provide an update or comment to keep it open. Otherwise, it will be closed in 7 days.
627 introduces a use of
mir_traits::solve_item_traits
in the extraction of types, which are common to THIR and MIR. Thussolve_item_traits
should move out ofmir_traits.rs
.solve_item_traits
should anyway be re-written using the traitsrustc_utils::SubstBinder
andrustc_utils::PredicateToPolyTraitRef
.