Skip to content

Commit 9360b62

Browse files
committed
Fix broken links to rustc-driver.md to point to rustc-driver/intro.md
1 parent 9223c8c commit 9360b62

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/appendix/code-index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Item | Kind | Short description | Chapter |
3434
[The HIR]: ../hir.html
3535
[Identifiers in the HIR]: ../hir.html#hir-id
3636
[The parser]: ../the-parser.html
37-
[The Rustc Driver and Interface]: ../rustc-driver.html
37+
[The Rustc Driver and Interface]: ../rustc-driver/intro.html
3838
[Type checking]: ../type-checking.html
3939
[The `ty` modules]: ../ty.html
4040
[Rustdoc]: ../rustdoc.html

src/memory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ structures (e.g. the [Abstract Syntax Tree (AST)][ast], [High-Level Intermediate
9494
Representation (`HIR`)][hir], and the type system) and as such, arenas and
9595
references are heavily relied upon to minimize unnecessary memory use. This
9696
manifests itself in the way people can plug into the compiler (i.e. the
97-
[driver](./rustc-driver.md)), preferring a "push"-style API (callbacks) instead
97+
[driver](./rustc-driver/intro.md)), preferring a "push"-style API (callbacks) instead
9898
of the more Rust-ic "pull" style (think the `Iterator` trait).
9999

100100
Thread-local storage and interning are used a lot through the compiler to reduce

src/overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ the final binary.
146146
[`Parser`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/parser/struct.Parser.html
147147
[`Pat`]: https://doc.rust-lang.org/beta/nightly-rustc/rustc_ast/ast/struct.Pat.html
148148
[`rustc_ast::ast`]: https://doc.rust-lang.org/beta/nightly-rustc/rustc_ast/index.html
149-
[`rustc_driver`]: rustc-driver.md
149+
[`rustc_driver`]: rustc-driver/intro.md
150150
[`rustc_interface::Config`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_interface/interface/struct.Config.html
151151
[`rustc_lexer`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_lexer/index.html
152152
[`rustc_parse::lexer`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_parse/lexer/index.html
@@ -387,7 +387,7 @@ For more details on bootstrapping, see
387387
# References
388388

389389
- Command line parsing
390-
- Guide: [The Rustc Driver and Interface](rustc-driver.md)
390+
- Guide: [The Rustc Driver and Interface](rustc-driver/intro.md)
391391
- Driver definition: [`rustc_driver`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_driver/)
392392
- Main entry point: [`rustc_session::config::build_session_options`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_session/config/fn.build_session_options.html)
393393
- Lexical Analysis: Lex the user program to a stream of tokens

0 commit comments

Comments
 (0)