about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-27 20:46:09 +0200
committerGitHub <noreply@github.com>2024-04-27 20:46:09 +0200
commit9c634f95bf1d1f5d41af774acb7c29b3c200cf7a (patch)
treeff46e1b7f08c331c24fe68f1ea37d125390673b9
parent8f962a6256f81abba014c1c7b57ca7b639be0adb (diff)
parent4faaa5339217267bfb4a0a26303f7197e56dcc72 (diff)
downloadrust-9c634f95bf1d1f5d41af774acb7c29b3c200cf7a.tar.gz
rust-9c634f95bf1d1f5d41af774acb7c29b3c200cf7a.zip
Rollup merge of #124437 - linyihai:doc-link-typeck, r=compiler-errors
doc: Make the `mod.rs` in the comment point to the correct location

The origin `mod.rs` had moved to `rustc_hir_analysis::check`, but the annotation doesn't point to it.

See [the origin PR](https://github.com/rust-lang/rust/pull/61857/files#diff-b65997b61ccd8d8e08238c925d631207671aca506e93ce7c5cfa0bec134c0a8e).
-rw-r--r--compiler/rustc_hir_typeck/src/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_typeck/src/expr.rs b/compiler/rustc_hir_typeck/src/expr.rs
index 48b9142b014..15792287a87 100644
--- a/compiler/rustc_hir_typeck/src/expr.rs
+++ b/compiler/rustc_hir_typeck/src/expr.rs
@@ -1,6 +1,6 @@
 //! Type checking expressions.
 //!
-//! See `mod.rs` for more context on type checking in general.
+//! See [`rustc_hir_analysis::check`] for more context on type checking in general.
 
 use crate::cast;
 use crate::coercion::CoerceMany;