about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-04-20 15:16:27 +0200
committerGitHub <noreply@github.com>2020-04-20 15:16:27 +0200
commit8f8568ece331f582a7dc2e7791305211815a524f (patch)
treee2330349889b178b4bca74188f0231448d40f234 /src/doc/rustc-dev-guide
parent96e94b20139b112233a49461ed9eafad0b66da93 (diff)
downloadrust-8f8568ece331f582a7dc2e7791305211815a524f.tar.gz
rust-8f8568ece331f582a7dc2e7791305211815a524f.zip
Replace `rustc` with `rustc_middle` (#680)
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/compiler-src.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/compiler-src.md b/src/doc/rustc-dev-guide/src/compiler-src.md
index 472d1ea03b8..25b3baa3e45 100644
--- a/src/doc/rustc-dev-guide/src/compiler-src.md
+++ b/src/doc/rustc-dev-guide/src/compiler-src.md
@@ -30,7 +30,7 @@ rustc_codegen  rustc_borrowck   ...  rustc_metadata
             \          |          /
               \        |        /
                 \      v      /
-                    rustc
+                  rustc_middle
                        |
                        v
                    rustc_ast
@@ -46,20 +46,20 @@ crates and defines the overall flow of execution. (As we transition
 more and more to the [query model], however, the
 "flow" of compilation is becoming less centrally defined.)
 
-At the other extreme, the `rustc` crate defines the common and
+At the other extreme, the `rustc_middle` crate defines the common and
 pervasive data structures that all the rest of the compiler uses
 (e.g. how to represent types, traits, and the program itself). It
 also contains some amount of the compiler itself, although that is
 relatively limited.
 
 Finally, all the crates in the bulge in the middle define the bulk of
-the compiler – they all depend on `rustc`, so that they can make use
+the compiler – they all depend on `rustc_middle`, so that they can make use
 of the various types defined there, and they export public routines
 that `rustc_driver` will invoke as needed (more and more, what these
 crates export are "query definitions", but those are covered later
 on).
 
-Below `rustc` lie various crates that make up the parser and error
+Below `rustc_middle` lie various crates that make up the parser and error
 reporting mechanism. They are also an internal part
 of the compiler and not intended to be stable (though they do wind up
 getting used by some crates in the wild; a practice we hope to