about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-01-29 10:26:35 -0500
committerNiko Matsakis <niko@alum.mit.edu>2018-01-29 10:26:40 -0500
commitd4362bf8d7a13f652e03f8e3c55e0449e5d44907 (patch)
tree40cedad26b967ef4425aa731a2db593557d74f0b /src/doc/rustc-dev-guide
parentb8d1ba80a55c97373db4eb76c78131dfefe44991 (diff)
downloadrust-d4362bf8d7a13f652e03f8e3c55e0449e5d44907.tar.gz
rust-d4362bf8d7a13f652e03f8e3c55e0449e5d44907.zip
link glossary to mir
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/glossary.md2
-rw-r--r--src/doc/rustc-dev-guide/src/mir.md5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/glossary.md b/src/doc/rustc-dev-guide/src/glossary.md
index 338c9e93f00..3202e5f4ce3 100644
--- a/src/doc/rustc-dev-guide/src/glossary.md
+++ b/src/doc/rustc-dev-guide/src/glossary.md
@@ -15,7 +15,7 @@ HirId                   |  identifies a particular node in the HIR by combining
 generics                |  the set of generic type parameters defined on a type or item
 ICE                     |  internal compiler error. When the compiler crashes.
 infcx                   |  the inference context (see `librustc/infer`)
-MIR                     |  the Mid-level IR that is created after type-checking for use by borrowck and trans. Defined in the `src/librustc/mir/` module, but much of the code that manipulates it is found in `src/librustc_mir`.
+MIR                     |  the Mid-level IR that is created after type-checking for use by borrowck and trans ([see more](./mir.html))
 obligation              |  something that must be proven by the trait system ([see more](trait-resolution.html))
 local crate             |  the crate currently being compiled.
 node-id or NodeId       |  an index identifying a particular node in the AST or HIR; gradually being phased out and replaced with `HirId`.
diff --git a/src/doc/rustc-dev-guide/src/mir.md b/src/doc/rustc-dev-guide/src/mir.md
index 2be6a2e1a84..eeba6847295 100644
--- a/src/doc/rustc-dev-guide/src/mir.md
+++ b/src/doc/rustc-dev-guide/src/mir.md
@@ -1 +1,6 @@
 # The MIR (Mid-level IR)
+
+TODO
+
+Defined in the `src/librustc/mir/` module, but much of the code that
+manipulates it is found in `src/librustc_mir`.