File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ the arenas, anyhow).
8686### A Note On Lifetimes
8787
8888The 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
9090Representation (` HIR ` )] [ hir ] , and the type system) and as such, arenas and
9191references are heavily relied upon to minimize unnecessary memory use. This
9292manifests 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
9898pervasive lifetimes. The [ ` rustc_middle::ty::tls ` ] [ tls ] module is used to access these
9999thread-locals, although you should rarely need to touch it.
100100
101+ [ ast ] : ./ast-validation.md
101102[ hir ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/index.html
102103[ 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