It looks like this is out-of-date, since Place is a struct, not an enum.
|
- **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. |
It looks like this is out-of-date, since
Placeis a struct, not an enum.rustc-dev-guide/src/mir/index.md
Lines 238 to 247 in 9d20811