rust/compiler/rustc_trait_selection/src/solve
bors ad963232d9 Auto merge of #113471 - compiler-errors:new-solver-norm-escaping, r=lcnr
Allow escaping bound vars during `normalize_erasing_regions` in new solver

Add `AllowEscapingBoundVars` to `deeply_normalize`, and use it in the new solver in the `query_normalize` routine.

Ideally, we'd make all `query_normalize` calls handle pass in `AllowEscapingBoundVars` individually, because really the only `query_normalize` call that needs `AllowEscapingBoundVars::Yes` is the one in `try_normalize_generic_arg_after_erasing_regions`, but I think that's kind of overkill. I am happy to be convinced otherwise, though.

r? `@lcnr`
2023-07-14 21:14:30 +00:00
..
assembly refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
eval_ctxt refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
search_graph reviews 2023-07-04 14:56:09 +01:00
alias_relate.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
canonicalize.rs Move TyCtxt::mk_x to Ty::new_x where applicable 2023-07-05 20:27:07 +01:00
eval_ctxt.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
fulfill.rs avoid building proof trees in select 2023-07-10 15:17:01 +02:00
inspect.rs avoid building proof trees in select 2023-07-10 15:17:01 +02:00
mod.rs Auto merge of #113471 - compiler-errors:new-solver-norm-escaping, r=lcnr 2023-07-14 21:14:30 +00:00
normalize.rs Auto merge of #113471 - compiler-errors:new-solver-norm-escaping, r=lcnr 2023-07-14 21:14:30 +00:00
opaques.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
project_goals.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
trait_goals.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
weak_types.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00