Skip to content

Rust: Resolve Self paths in type definitions#21247

Merged
paldepind merged 4 commits intogithub:mainfrom
paldepind:rust/self-types
Feb 4, 2026
Merged

Rust: Resolve Self paths in type definitions#21247
paldepind merged 4 commits intogithub:mainfrom
paldepind:rust/self-types

Conversation

@paldepind
Copy link
Contributor

@paldepind paldepind commented Feb 2, 2026

This PR:

  • Implements path resolution for Self paths within type definitions.
  • Slightly simplifies how Self is handled by avoiding the need for getAnItemInSelfScope. By handling Self in getAChildSuccessor it's automatically accounted for in declaresDirectly and declares.

The DCA results are uneventful.

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

Labels

no-change-note-required This PR does not need a change note Rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants