about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-07-04 18:28:10 +0000
committerMichael Goulet <michael@errs.io>2023-07-16 21:14:38 +0000
commit085ae9e8b4f903073c1600061934d9e697e3a65e (patch)
tree43d15a1beb79b0611655ebdb2581c4789b68b998 /compiler/rustc_middle/src/ty
parentc4083faade32b16feb471ef082ce0b1e3fe94262 (diff)
downloadrust-085ae9e8b4f903073c1600061934d9e697e3a65e.tar.gz
rust-085ae9e8b4f903073c1600061934d9e697e3a65e.zip
Add support for inherent projections
Diffstat (limited to 'compiler/rustc_middle/src/ty')
-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>,