Skip to content

6.0: [BitwiseCopyable] Don't infer for noncopyable. #72934

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

nate-chandler
Copy link
Contributor

Explanation: Restore an incorrectly removed bailout for BitwiseCopyable inference.

When removing a bespoke diagnostic, the bailout that would occur under the same circumstances that the diagnostic would be emitted was removed. This change restores the bailout.
Scope: Affects BitwiseCopyable checking.
Issue: rdar://126135770
Original PR: #72929
Risk: Very low.
Testing: Added a test case.
Reviewer: Kavon Farvardin ( @kavon )

This bailout was accidentally removed in
swiftlang#72856 when removing a duplicative
diagnostic.

rdar://126135770
@nate-chandler nate-chandler requested a review from a team as a code owner April 9, 2024 17:53
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler enabled auto-merge April 9, 2024 17:57
@nate-chandler nate-chandler merged commit 5d7ae8a into swiftlang:release/6.0 Apr 9, 2024
5 checks passed
@nate-chandler nate-chandler deleted the cherrypick/release/6.0/rdar126135770 branch April 10, 2024 00:34
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