File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ the arenas, anyhow).
86
86
### A Note On Lifetimes
87
87
88
88
The Rust compiler is a fairly large program containing lots of big data
89
- structures (e.g. the Abstract Syntax Tree (` AST ` ), [ High-Level Intermediate
89
+ structures (e.g. the [ Abstract Syntax Tree (` AST ` )] [ ast ] , [ High-Level Intermediate
90
90
Representation (` HIR ` )] [ hir ] , and the type system) and as such, arenas and
91
91
references are heavily relied upon to minimize unnecessary memory use. This
92
92
manifests itself in the way people can plug into the compiler (i.e. the
@@ -98,5 +98,6 @@ duplication while also preventing a lot of the ergonomic issues due to many
98
98
pervasive lifetimes. The [ ` rustc_middle::ty::tls ` ] [ tls ] module is used to access these
99
99
thread-locals, although you should rarely need to touch it.
100
100
101
+ [ ast ] : ./ast-validation.md
101
102
[ hir ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/index.html
102
103
[ tls ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/tls/index.html
You can’t perform that action at this time.
0 commit comments