rust/compiler/rustc_middle
Matthias Krüger 5290d5e321
Rollup merge of #103123 - compiler-errors:early-binder-iter, r=cjgillot
Introduce `subst_iter` and `subst_iter_copied` on `EarlyBinder`

Makes working with bounds lists a bit easier, which I seem to do a lot.

Specifically, means that we don't need to do `.transpose_iter().map(|(pred, _)| *pred)` every time we want to iterate through an `EarlyBinder<&'tcx [(Predicate, Span)]>` (and even then, still have to call `subst` later), which was a very awkward idiom imo.
2022-10-23 08:14:30 +02:00
..
src Rollup merge of #103123 - compiler-errors:early-binder-iter, r=cjgillot 2022-10-23 08:14:30 +02:00
Cargo.toml Move utils from rustc_middle to rustc_ty_utils 2022-10-03 09:12:03 -05:00
README.md

For more information about how rustc works, see the rustc dev guide.