about summary refs log tree commit diff
path: root/compiler/rustc_middle/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-17 01:06:36 +0000
committerbors <bors@rust-lang.org>2023-07-17 01:06:36 +0000
commit4c7af429f3122cbde3df648783e9b4d31cd62525 (patch)
tree6bbf42943909e40177cb55bbd7be2fce0e54ef46 /compiler/rustc_middle/src
parentf1eab64d4f7ece5eead36098cdaeb1a8f0d5405c (diff)
parentc9ce51b5c78541bef1a3b3de61655629deef77b1 (diff)
downloadrust-4c7af429f3122cbde3df648783e9b4d31cd62525.tar.gz
rust-4c7af429f3122cbde3df648783e9b4d31cd62525.zip
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)
Diffstat (limited to 'compiler/rustc_middle/src')
-rw-r--r--compiler/rustc_middle/src/ty/sty.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/sty.rs b/compiler/rustc_middle/src/ty/sty.rs
index 66d8a79de42..cdb0b2240a4 100644
--- a/compiler/rustc_middle/src/ty/sty.rs
+++ b/compiler/rustc_middle/src/ty/sty.rs
@@ -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>,