1
Fork 0

Auto merge of #113336 - compiler-errors:new-solver-iat, r=lcnr

Add support for inherent projections in new solver

Not hard to support these, and it cuts out a really big chunk of failing UI tests with `--compare-mode=next-solver`

r? `@lcnr` (feel free to reassign, anyone can review this)
This commit is contained in:
bors 2023-07-17 01:06:36 +00:00
commit 4c7af429f3
9 changed files with 154 additions and 13 deletions

View file

@ -1313,7 +1313,7 @@ impl<'tcx> AliasTy<'tcx> {
/// I_i impl subst
/// P_j GAT subst
/// ```
pub fn rebase_args_onto_impl(
pub fn rebase_inherent_args_onto_impl(
self,
impl_args: ty::GenericArgsRef<'tcx>,
tcx: TyCtxt<'tcx>,