Skip to content

Commit 217458b

Browse files
committed
intra-doc links
1 parent cbc6d35 commit 217458b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/ty/context.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1210,7 +1210,7 @@ impl<'tcx> TyCtxt<'tcx> {
12101210
self.mk_ty(Error(DelaySpanBugEmitted(())))
12111211
}
12121212

1213-
/// Like [`ty_error`] but for constants.
1213+
/// Like [TyCtxt::ty_error] but for constants.
12141214
#[track_caller]
12151215
pub fn const_error(self, ty: Ty<'tcx>) -> &'tcx Const<'tcx> {
12161216
self.const_error_with_message(
@@ -1220,7 +1220,7 @@ impl<'tcx> TyCtxt<'tcx> {
12201220
)
12211221
}
12221222

1223-
/// Like [`ty_error_with_message`] but for constants.
1223+
/// Like [TyCtxt::ty_error_with_message] but for constants.
12241224
#[track_caller]
12251225
pub fn const_error_with_message<S: Into<MultiSpan>>(
12261226
self,

0 commit comments

Comments
 (0)