about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-01-22 05:49:52 -0500
committerGitHub <noreply@github.com>2021-01-22 11:49:52 +0100
commit2a40488f9438a222dd875268ea536b5d084d1b4e (patch)
tree4518078fe2d1a6ed4ab6155c64f85ce867489a96 /src/doc/rustc-dev-guide
parente61acde6b56d5458d9472a3ffdfaac004db2a797 (diff)
downloadrust-2a40488f9438a222dd875268ea536b5d084d1b4e.tar.gz
rust-2a40488f9438a222dd875268ea536b5d084d1b4e.zip
Add link to promotion.md (#1033)
* Add link to promotion.md

* Improve link text

Co-authored-by: Camelid <camelidcamel@gmail.com>

Co-authored-by: Camelid <camelidcamel@gmail.com>
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/mir/index.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/mir/index.md b/src/doc/rustc-dev-guide/src/mir/index.md
index 5d137697511..306d2abfd27 100644
--- a/src/doc/rustc-dev-guide/src/mir/index.md
+++ b/src/doc/rustc-dev-guide/src/mir/index.md
@@ -254,7 +254,7 @@ but [you can read about those below](#promoted)).
 
 ### Promoted constants
 
-*to be written*
+See the const-eval WG's [docs on promotion](https://github.com/rust-lang/const-eval/blob/master/promotion.md).
 
 
 [mir]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/mir/index.html