-
Notifications
You must be signed in to change notification settings - Fork 563
Closed
Labels
E-easyDifficulty: might be a good place for a beginnerDifficulty: might be a good place for a beginner
Description
It looks like this is out-of-date, since Place is a struct, not an enum.
rustc-dev-guide/src/mir/index.md
Lines 238 to 247 in 9d20811
| - **Places** are identified by the enum [`Place`]. There are a few | |
| variants: | |
| - Local variables like `_1` | |
| - Static variables `FOO` | |
| - **Projections**, which are fields or other things that "project | |
| out" from a base place. These are represented by the type | |
| [`ProjectionElem`]. So e.g. the place `_1.f` is a projection, | |
| with `f` being the "projection element" and `_1` being the base | |
| path. `*_1` is also a projection, with the `*` being represented | |
| by the [`ProjectionElem::Deref`] element. |
Metadata
Metadata
Assignees
Labels
E-easyDifficulty: might be a good place for a beginnerDifficulty: might be a good place for a beginner