Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparation to Return Type Notation (RTN) #19354

Merged
merged 2 commits into from
Mar 16, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

These are small preparation commits to RTN, which turns out to require some quite big changes, first to lower RPITIT to associated types then to resolve RTN. So I thought I will first set a baseline.

We do it the way rustc does it, by only marking segments with it, and not the whole path. This will allow extending where it is allowed in the future.
We miss one place: associated type bindings aka. `impl Trait<Type(..): Send>`, but we also miss it for Fn-style parenthesizes error so I left it out for now.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 14, 2025
Copy link
Contributor

@Shourya742 Shourya742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK

@Veykril Veykril added this pull request to the merge queue Mar 16, 2025
Merged via the queue into rust-lang:master with commit 9187403 Mar 16, 2025
9 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the rtn-prep branch March 16, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants