about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-08-20 22:21:59 +0200
committerGitHub <noreply@github.com>2024-08-20 22:21:59 +0200
commit71df480bcbf0cb057f822e2476f1a8f711962454 (patch)
treeb962d3861bdf4488219c89d549769d6f7ad6ccd5
parentb1f19caa599a707cc848a1421c7560cc278cf55e (diff)
parentdf568af244cc67eb6706ad5a27b9800043b37893 (diff)
downloadrust-71df480bcbf0cb057f822e2476f1a8f711962454.tar.gz
rust-71df480bcbf0cb057f822e2476f1a8f711962454.zip
Rollup merge of #129314 - kyoto7250:fix_link_in_mir_mod, r=compiler-errors
fix a broken link in `mir/mod.rs`

I discovered that the internal link in mir/mod.rs is broken, so I will fix it. The AddCallGuards is now located under rustc_mir_transform.

The PR at that time is as follows.
https://github.com/rust-lang/rust/commit/c5fc2609f0f81698616734e22adee9b9ed67f729
-rw-r--r--compiler/rustc_middle/src/mir/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/mir/mod.rs b/compiler/rustc_middle/src/mir/mod.rs
index 46c4d586f6a..5b2aac781eb 100644
--- a/compiler/rustc_middle/src/mir/mod.rs
+++ b/compiler/rustc_middle/src/mir/mod.rs
@@ -1368,7 +1368,7 @@ rustc_index::newtype_index! {
     /// [CFG]: https://rustc-dev-guide.rust-lang.org/appendix/background.html#cfg
     /// [data-flow analyses]:
     ///     https://rustc-dev-guide.rust-lang.org/appendix/background.html#what-is-a-dataflow-analysis
-    /// [`CriticalCallEdges`]: ../../rustc_const_eval/transform/add_call_guards/enum.AddCallGuards.html#variant.CriticalCallEdges
+    /// [`CriticalCallEdges`]: ../../rustc_mir_transform/add_call_guards/enum.AddCallGuards.html#variant.CriticalCallEdges
     /// [guide-mir]: https://rustc-dev-guide.rust-lang.org/mir/
     #[derive(HashStable)]
     #[encodable]