Skip to content

[move-only] Emit a nice error if a move only type is imported into a module that does not have experimental-move-only enabled. #61969

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

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented Nov 8, 2022

This just prevents user confusion when they forget to do this since weird behavior /could/ result.

rdar://102062737

…module that does not have experimental-move-only enabled.

This just prevents user confusion when they forget to do this since weird
behavior /could/ result.

rdar://102062737
@gottesmm
Copy link
Contributor Author

gottesmm commented Nov 8, 2022

@swift-ci test

@gottesmm gottesmm merged commit 2230098 into swiftlang:main Nov 8, 2022
@gottesmm gottesmm deleted the pr-9886f2a1e8cf3c978e776e853036f1cf1560f9ff branch November 8, 2022 06:38
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