Skip to content

Commit 4b7bdec

Browse files
committed
alphabetize glossary
1 parent 39bf7d6 commit 4b7bdec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/glossary.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ generics | the set of generic type parameters defined on a type
1717
ICE | internal compiler error. When the compiler crashes.
1818
ICH | incremental compilation hash. ICHs are used as fingerprints for things such as HIR and crate metadata, to check if changes have been made. This is useful in incremental compilation to see if part of a crate has changed and should be recompiled.
1919
infcx | the inference context (see `librustc/infer`)
20-
MIR | the Mid-level IR that is created after type-checking for use by borrowck and trans ([see more](./mir.html))
21-
obligation | something that must be proven by the trait system ([see more](trait-resolution.html))
2220
local crate | the crate currently being compiled.
21+
MIR | the Mid-level IR that is created after type-checking for use by borrowck and trans ([see more](./mir.html))
2322
node-id or NodeId | an index identifying a particular node in the AST or HIR; gradually being phased out and replaced with `HirId`.
24-
query | perhaps some sub-computation during compilation ([see more](query.html))
23+
obligation | something that must be proven by the trait system ([see more](trait-resolution.html))
2524
provider | the function that executes a query ([see more](query.html))
25+
query | perhaps some sub-computation during compilation ([see more](query.html))
2626
sess | the compiler session, which stores global data used throughout compilation
2727
side tables | because the AST and HIR are immutable once created, we often carry extra information about them in the form of hashtables, indexed by the id of a particular node.
2828
span | a location in the user's source code, used for error reporting primarily. These are like a file-name/line-number/column tuple on steroids: they carry a start/end point, and also track macro expansions and compiler desugaring. All while being packed into a few bytes (really, it's an index into a table). See the Span datatype for more.

0 commit comments

Comments
 (0)