Skip to content

Make rustc::middle::region::Scope's fields public... #54122

Description

@oli-obk

... and remove the entire impl block for constructing values of type Scope

This will cause a lot of fallout throughout the compiler requiring changing Scope::Foo(x) to Scope { id: x, data: ScopeData::Foo }

cc #54032 (comment)

First #54032 needs to get merged though.

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

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions