Skip to content

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

Closed
@oli-obk

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.

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