Skip to content

Commit 3fd047d

Browse files
committed
Name methods pertaining to HIR ty lowering of paths more appropriately
1 parent 5fdc0de commit 3fd047d

File tree

5 files changed

+162
-141
lines changed

5 files changed

+162
-141
lines changed

compiler/rustc_hir_analysis/src/collect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ impl<'tcx> HirTyLowerer<'tcx> for ItemCtxt<'tcx> {
443443
self.tcx.at(span).type_param_predicates((self.item_def_id, def_id, assoc_ident))
444444
}
445445

446-
fn lower_assoc_shared(
446+
fn lower_assoc_item_path(
447447
&self,
448448
span: Span,
449449
item_def_id: DefId,

compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
737737
}
738738

739739
/// Perform type-dependent lookup for a *method* for return type notation.
740-
/// This generally mirrors `<dyn HirTyLowerer>::lower_assoc_path`.
740+
/// This generally mirrors `<dyn HirTyLowerer>::lower_type_relative_path`.
741741
fn resolve_type_relative_return_type_notation(
742742
&self,
743743
qself: &'tcx hir::Ty<'tcx>,

0 commit comments

Comments
 (0)