diff options
| author | Camelid <camelidcamel@gmail.com> | 2021-01-09 17:10:18 -0800 |
|---|---|---|
| committer | Joshua Nelson <joshua@yottadb.com> | 2021-01-09 21:05:10 -0500 |
| commit | 84c3c96d59eeeb1ceeccc31fdc36f8524b511b0d (patch) | |
| tree | ddd74fb9b8e21b42fc7ffe35529546f1c0dded40 /src/doc/rustc-dev-guide | |
| parent | 012d6da4893f9d331d58b14857afa5fc673deeed (diff) | |
| download | rust-84c3c96d59eeeb1ceeccc31fdc36f8524b511b0d.tar.gz rust-84c3c96d59eeeb1ceeccc31fdc36f8524b511b0d.zip | |
Point to `HirId` instead of `NodeId`
Diffstat (limited to 'src/doc/rustc-dev-guide')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/identifiers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/identifiers.md b/src/doc/rustc-dev-guide/src/identifiers.md index d04509b683f..37e6a1c9299 100644 --- a/src/doc/rustc-dev-guide/src/identifiers.md +++ b/src/doc/rustc-dev-guide/src/identifiers.md @@ -29,7 +29,7 @@ The HIR uses a bunch of different identifiers that coexist and serve different p - A [`DefId`], as the name suggests, identifies a particular definition, or top-level item, in a given crate. It is composed of two parts: a [`CrateNum`] which identifies the crate the definition comes from, and a [`DefIndex`] which identifies the definition - within the crate. Unlike [`NodeId`]s, there isn't a [`DefId`] for every expression, which + within the crate. Unlike [`HirId`]s, there isn't a [`DefId`] for every expression, which makes them more stable across compilations. - A [`LocalDefId`] is basically a [`DefId`] that is known to come from the current crate. |
