Skip to content

[move-only] Fix borrowing address only no consume diagnostic to not say can't capture. #66988

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

Merged
merged 1 commit into from
Jun 28, 2023

Conversation

gottesmm
Copy link
Contributor

We previously were emitting a consuming partial_apply diagnostic. I had to reformulate slightly the way we pattern match the diagnostics to make sure that we get the proper no consume diagnostic.

rdar://111461837

…ay can't capture.

We previously were emitting a consuming partial_apply diagnostic. I had to
reformulate slightly the way we pattern match the diagnostics to make sure that
we get the proper no consume diagnostic.

rdar://111461837
@gottesmm
Copy link
Contributor Author

@swift-ci smoke test

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.

2 participants