rust/compiler/rustc_lint
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 Update unicode-rs crates to Unicode 15 2022-09-17 01:55:56 +08:00