Skip to content

Commit

Permalink
Rollup merge of rust-lang#124437 - linyihai:doc-link-typeck, r=compil…
Browse files Browse the repository at this point in the history
…er-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).
  • Loading branch information
matthiaskrgr authored Apr 27, 2024
2 parents 625f5d4 + 4faaa53 commit 03a1bd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_typeck/src/expr.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 03a1bd8

Please sign in to comment.