about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2024-11-29 12:14:07 -0800
committerBoxy <rust@boxyuwu.dev>2024-12-02 19:34:54 +0000
commitdcf332bd9ddd6c81c54ce6422243df9a96cef44f (patch)
tree4eebb882440c350a5b9d5138feaea0a5a5a2b921
parent277e049d918226981f86be50d10dde25282b022f (diff)
downloadrust-dcf332bd9ddd6c81c54ce6422243df9a96cef44f.tar.gz
rust-dcf332bd9ddd6c81c54ce6422243df9a96cef44f.zip
Fix broken intra-doc link
-rw-r--r--compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs b/compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs
index 9d60759ae48..0404e38a293 100644
--- a/compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs
+++ b/compiler/rustc_hir_analysis/src/hir_ty_lowering/bounds.rs
@@ -703,7 +703,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
 ///
 /// It might actually be possible that we can already support early-bound generic params
 /// in such types if we just lifted some more checks in other places, too, for example
-/// inside [`ty::Const::from_anon_const`]. However, even if that were the case, we should
+/// inside `HirTyLowerer::lower_anon_const`. However, even if that were the case, we should
 /// probably gate this behind another feature flag.
 ///
 /// [^1]: <https://github.com/rust-lang/project-const-generics/issues/28>.