diff options
| author | varkor <github@varkor.com> | 2019-02-16 14:15:41 +0000 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2019-02-18 12:34:28 -0600 |
| commit | 40623feedc0f7a970e1619e7af4ad0d8b540ae73 (patch) | |
| tree | 66f539c3d9bd9926a88b68c69f337e3cc82679f2 /src | |
| parent | 02260c1b7cc3352f0765c47d598bb415a0556151 (diff) | |
Add "drop glue" to the glossary
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/appendix/glossary.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc/rustc-dev-guide/src/appendix/glossary.md b/src/doc/rustc-dev-guide/src/appendix/glossary.md index 3f10d731deb..86a128efb1d 100644 --- a/src/doc/rustc-dev-guide/src/appendix/glossary.md +++ b/src/doc/rustc-dev-guide/src/appendix/glossary.md @@ -19,6 +19,7 @@ DAG | a directed acyclic graph is used during compilation t data-flow analysis | 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) DefId | an index identifying a definition (see `librustc/hir/def_id.rs`). Uniquely identifies a `DefPath`. Double pointer | a pointer with additional metadata. See "fat pointer" for more. +drop glue | (internal) compiler-generated instructions that handle calling the destructors (`Drop`) for data types. DST | Dynamically-Sized Type. A type for which the compiler cannot statically know the size in memory (e.g. `str` or `[u8]`). Such types don't implement `Sized` and cannot be allocated on the stack. They can only occur as the last field in a struct. They can only be used behind a pointer (e.g. `&str` or `&[u8]`). early-bound lifetime | a lifetime region, which is bound in an item's `Generics` and substituted using a `Substs`. Contrast with **late-bound lifetime**. ([see more](https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/enum.RegionKind.html#bound-regions)) empty type | see "uninhabited type". |
