Skip to content

Introduce Scope::NonGlobModule and Scope::GlobModule#144131

Closed
b-naber wants to merge 6 commits intorust-lang:mainfrom
b-naber:scope-refactoring
Closed

Introduce Scope::NonGlobModule and Scope::GlobModule#144131
b-naber wants to merge 6 commits intorust-lang:mainfrom
b-naber:scope-refactoring

Conversation

@b-naber
Copy link
Contributor

@b-naber b-naber commented Jul 18, 2025

Splits Scope::Module into Scope::NonGlobModule and Scope::GlobModule. This makes it easier to implement the open namespaces project, where we have to introduce a third scope. Introducing two separate scopes for a module was also a change requested by @petrochenkov, and should make it easier to output better diagnostics.

r? @petrochenkov

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

Labels

S-blocked Status: Blocked on something else such as an RFC or other implementation work. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants