Skip to content

Commit 005a250

Browse files
committed
Move rustc docs to the book
This is super black magic internals at the moment, but having it somewhere semi-public seems good. The current versions weren't being rendered, and they'll be useful for some people. Fixes rust-lang#21281
1 parent a954663 commit 005a250

File tree

21 files changed

+2563
-2636
lines changed

21 files changed

+2563
-2636
lines changed

src/doc/trpl/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,7 @@ chapters focus on the most complex features, as well as some things that
3333
are only available in upcoming versions of Rust.
3434

3535
After reading "Advanced," you'll be a Rust expert!
36+
37+
<h2 class="section-header"><a href="internals.html">Internals</a></h2>
38+
39+
This section is full of documentaion of compiler internals. Here be dragons.

src/doc/trpl/SUMMARY.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Summary
22

3-
* [I: The Basics](basic.md)
3+
* [The Basics](basic.md)
44
* [Installing Rust](installing-rust.md)
55
* [Hello, world!](hello-world.md)
66
* [Hello, Cargo!](hello-cargo.md)
@@ -15,7 +15,7 @@
1515
* [Arrays, Vectors, and Slices](arrays-vectors-and-slices.md)
1616
* [Standard Input](standard-input.md)
1717
* [Guessing Game](guessing-game.md)
18-
* [II: Intermediate Rust](intermediate.md)
18+
* [Intermediate Rust](intermediate.md)
1919
* [More Strings](more-strings.md)
2020
* [Crates and Modules](crates-and-modules.md)
2121
* [Testing](testing.md)
@@ -31,9 +31,16 @@
3131
* [Concurrency](concurrency.md)
3232
* [Error Handling](error-handling.md)
3333
* [Documentation](documentation.md)
34-
* [III: Advanced Topics](advanced.md)
34+
* [Advanced Topics](advanced.md)
3535
* [FFI](ffi.md)
3636
* [Unsafe Code](unsafe.md)
3737
* [Macros](macros.md)
3838
* [Compiler Plugins](plugins.md)
39+
* [Compiler Internals](internals.md)
40+
* [Borrow Checker](borrow-checker.md)
41+
* [Trait Resolution](trait-resolution.md)
42+
* [Inference](inference.md)
43+
* [Higher Ranked Items](higher-ranked-items.md)
44+
* [Region Inference](region-inference.md)
45+
* [Method Lookup](method-lookup.md)
3946
* [Conclusion](conclusion.md)

0 commit comments

Comments
 (0)