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

fix: Don't complete ; when in closure return expression #18132

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ChayimFriedman2
Copy link
Contributor

Completing it will break syntax.

Fixes #18130.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 17, 2024
Completing it will break syntax.
…function into `CompletionContext`

So that we don't recompute it for every item.
@ChayimFriedman2
Copy link
Contributor Author

@Veykril, addressed comments.

@ChayimFriedman2 ChayimFriedman2 changed the title Don't complete ; when in closure return expression fix: Don't complete ; when in closure return expression Sep 18, 2024
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.

The new complete semicolon feature fails with closures
3 participants