rust/compiler/rustc_middle/src
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
..
dep_graph Allow query system to recover a HirId. 2022-10-01 15:58:42 +02:00
hir ImplItemKind::TyAlias => ImplItemKind::Type 2022-10-09 07:09:57 +00:00
infer Make ClosureOutlivesRequirement not rely on an unresolved type 2022-10-19 17:10:59 +00:00
middle Auto merge of #102026 - Bryanskiy:resolve_update, r=petrochenkov 2022-10-16 20:34:38 +00:00
mir Auto merge of #103227 - lcnr:bye-bye-unevaluated-const, r=oli-obk 2022-10-22 07:49:33 +00:00
query Auto merge of #103196 - Nilstrieb:no-meta-query, r=cjgillot 2022-10-22 05:08:51 +00:00
thir Use boxed slices in PatKind. 2022-09-02 07:26:22 +10:00
traits Make ClosureOutlivesRequirement not rely on an unresolved type 2022-10-19 17:10:59 +00:00
ty Rollup merge of #103123 - compiler-errors:early-binder-iter, r=cjgillot 2022-10-23 08:14:30 +02:00
util span: move MultiSpan 2022-04-05 07:01:00 +01:00
arena.rs Rewrite representability 2022-10-07 09:33:46 -05:00
error.rs Add diagnostic struct for const eval error in rustc_middle 2022-10-03 12:29:49 -05:00
lib.rs const_evaluatable_unchecked to const eval 2022-10-18 16:31:56 +02:00
lint.rs fix typo 2022-10-16 16:47:55 +02:00
macros.rs add inline to TrivialTypeTraversalImpls 2022-10-17 10:54:03 +02:00
metadata.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
thir.rs Use tidy-alphabetical in the compiler 2022-10-12 17:49:10 +05:30
values.rs Check representability in adt_sized_constraint 2022-10-10 14:36:12 -05:00