about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2025-03-03 13:16:14 -0500
committerJake Goulding <jake.goulding@gmail.com>2025-03-03 13:41:54 -0500
commitf6fc17a4c8ccc88096785dfb50e553003e99f147 (patch)
treefeef6b761397d36efd71caeaf931176ed20464f4 /src
parentb7eeaf1c6dc24c399b3081b94a940098c12e63f4 (diff)
downloadrust-f6fc17a4c8ccc88096785dfb50e553003e99f147.tar.gz
rust-f6fc17a4c8ccc88096785dfb50e553003e99f147.zip
Add an anchor to directly link to the -Zmiri-tree-borrows docs
Diffstat (limited to 'src')
-rw-r--r--src/tools/miri/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/miri/README.md b/src/tools/miri/README.md
index 4ae901be9b4..d64de4b1976 100644
--- a/src/tools/miri/README.md
+++ b/src/tools/miri/README.md
@@ -432,7 +432,8 @@ to Miri failing to detect cases of undefined behavior in a program.
 * `-Zmiri-track-weak-memory-loads` shows a backtrace when weak memory emulation returns an outdated
   value from a load. This can help diagnose problems that disappear under
   `-Zmiri-disable-weak-memory-emulation`.
-* `-Zmiri-tree-borrows` replaces [Stacked Borrows] with the [Tree Borrows] rules.
+* <a name="-Zmiri-tree-borrows"><!-- The playground links here --></a>
+  `-Zmiri-tree-borrows` replaces [Stacked Borrows] with the [Tree Borrows] rules.
   Tree Borrows is even more experimental than Stacked Borrows. While Tree Borrows
   is still sound in the sense of catching all aliasing violations that current versions
   of the compiler might exploit, it is likely that the eventual final aliasing model