rust/compiler/rustc_trait_selection/src
bors d12412c90f Auto merge of #106395 - compiler-errors:rework-predicates, r=eholk
Rework some `predicates_of`/`{Generic,Instantiated}Predicates` code

1. Make `instantiate_own` return an iterator, since it's a bit more efficient and easier to work with
2. Remove `bound_{explicit,}_predicates_of` -- these `bound_` methods in particular were a bit awkward to work with since `ty::GenericPredicates` *already* acts kinda like an `EarlyBinder` with its own `instantiate_*` methods, and had only a few call sites anyways.
3. Implement `IntoIterator` for `InstantiatedPredicates`, since it's *very* commonly being `zip`'d together.
2023-01-16 05:55:59 +00:00
..
solve Auto merge of #106742 - compiler-errors:new-solver-make-it-not-ice, r=lcnr 2023-01-15 15:07:27 +00:00
traits Remove bound_{explicit,}_item_bounds 2023-01-15 15:36:06 +00:00
errors.rs Move autoderef to rustc_hir_analysis 2023-01-11 20:12:57 +00:00
infer.rs Simplify some canonical type alias names 2023-01-03 01:16:10 +00:00
lib.rs Move autoderef to rustc_hir_analysis 2023-01-11 20:12:57 +00:00