You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/appendix/glossary.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Term | Meaning
13
13
<spanid="cfg">control-flow graph</span> | A representation of the control-flow of a program; see [the background chapter for more](./background.html#cfg)
14
14
<spanid="ctfe">CTFE</span> | Short for Compile-Time Function Evaluation, this is the ability of the compiler to evaluate `const fn`s at compile time. This is part of the compiler's constant evaluation system. ([see more](../const-eval.html))
15
15
<spanid="cx">cx</span> | We tend to use "cx" as an abbreviation for context. See also `tcx`, `infcx`, etc.
16
-
<spanid="ctxt">ctxt</span> | We also use "ctxt" as an abbreviation for context, e.g. [`TyCtxt`](TyCtxt). See also [cx](#cx) or [tcx](#tcx).
16
+
<spanid="ctxt">ctxt</span> | We also use "ctxt" as an abbreviation for context, e.g. [`TyCtxt`](#TyCtxt). See also [cx](#cx) or [tcx](#tcx).
17
17
<spanid="dag">DAG</span> | A directed acyclic graph is used during compilation to keep track of dependencies between queries. ([see more](../queries/incremental-compilation.html))
18
18
<spanid="data-flow">data-flow analysis</span> | A static analysis that figures out what properties are true at each point in the control-flow of a program; see [the background chapter for more](./background.html#dataflow).
19
19
<spanid="debruijn">DeBruijn Index</span> | A technique for describing which binder a variable is bound by using only integers. It has the benefit that it is invariant under variable renaming. ([see more](./background.md#what-is-a-debruijn-index))
@@ -75,12 +75,12 @@ Term | Meaning
75
75
<spanid="tag">Tag</span> | The "tag" of an enum/generator encodes the [discriminant](#discriminant) of the active variant/state. Tags can either be "direct" (simply storing the discriminant in a field) or use a ["niche"](#niche).
76
76
<spanid="tcx">tcx</span> | The "typing context", main data structure of the compiler. ([see more](../ty.html))
77
77
<spanid="lifetime-tcx">`'tcx`</span> | The lifetime of the allocation arena. ([see more](../ty.html))
78
-
<spanid="tyctxt">TyCtxt</span> | The data structure often referred to as [tcx](#tcx) in code
79
78
<spanid="token">token</span> | The smallest unit of parsing. Tokens are produced after lexing ([see more](../the-parser.html)).
80
79
<spanid="tls">[TLS]</span> | Thread-Local Storage. Variables may be defined so that each thread has its own copy (rather than all threads sharing the variable). This has some interactions with LLVM. Not all platforms support TLS.
81
80
<spanid="trait-ref">trait reference</span> | The name of a trait along with a suitable set of input type/lifetimes. ([see more](../traits/goals-and-clauses.html#trait-ref))
82
81
<spanid="trans">trans</span> | The code to translate MIR into LLVM IR. Renamed to codegen.
83
82
<spanid="ty">ty</span> | The internal representation of a type. ([see more](../ty.html))
83
+
<spanid="tyctxt">TyCtxt</span> | The data structure often referred to as [tcx](#tcx) in code
84
84
<spanid="ufcs">UFCS</span> | Short for Universal Function Call Syntax, this is an unambiguous syntax for calling a method. ([see more](../type-checking.html))
85
85
<spanid="ut">uninhabited type</span> | A type which has _no_ values. This is not the same as a ZST, which has exactly 1 value. An example of an uninhabited type is `enum Foo {}`, which has no variants, and so, can never be created. The compiler can treat code that deals with uninhabited types as dead code, since there is no such value to be manipulated. `!` (the never type) is an uninhabited type. Uninhabited types are also called "empty types".
86
86
<spanid="upvar">upvar</span> | A variable captured by a closure from outside the closure.
0 commit comments