Skip to content

Can Place in MIR be static variable? #1589

Description

@StevenJiang1110

I learn from the MIR data types section that a Place can be static variable.

截屏2023-02-08 10 58 54

But from the doc, I can't see that Place can used to represent a static variable. Is the rustc-dev-guide outdated here? Further, the Place is a struct instead of an enum now, while rustc-dev-guide describe it as an enum.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions