Skip to content

Use paths: qualified references follow the Rust model - #189

Merged
Kinflou merged 2 commits into
mainfrom
proposals/qualified-references
Nov 15, 2026
Merged

Kinflou merged 2 commits into
mainfrom
proposals/qualified-references

Conversation

@Kinflou

@Kinflou Kinflou commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Records the user's decision (2026-11-15): qualified references follow the Rust model, and the answers to its five questions: a namespace use brings in only its name; a full path works in a type position without a use; a path can go down from a name in scope; a qualified reference is frozen as its resolved path (IR, hashes and generators unchanged); a refused reference is an error at once, with a fix. Corrects the page's claim that the bare-path fix rewrites qualified references, and links core#289. Not built yet.

@Kinflou
Kinflou marked this pull request as ready for review November 15, 2026 14:46
@Kinflou
Kinflou merged commit c8288e8 into main Nov 15, 2026
5 checks passed
@Kinflou
Kinflou deleted the proposals/qualified-references branch November 17, 2026 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant