Skip to content

Conversation

@nate-chandler
Copy link
Contributor

Explanation: Allow BitwiseCopyable conformance inference to be suppressed via ~.
Scope: Affects BitwiseCopyable checking.
Issue: rdar://126687850
Original PR: #72646
Risk: Low.
Testing: Added unit tests for new suppression spelling.
Reviewer: @DougGregor

This is the subset of suppressible protocols that are not invertible.
This commit doesn't add any such protocols.
Add the machinery to support suppression of inference of conformance to
protocols that would otherwise be derived automatically.

This commit does not enable any conformances to be suppressed.
In addition to the existing language mechanism of
`@available(*, unavailable)`.
@nate-chandler nate-chandler requested a review from a team as a code owner April 18, 2024 14:12
@nate-chandler nate-chandler requested a review from tbkka April 18, 2024 14:13
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler nate-chandler merged commit a424d9b into swiftlang:release/6.0 Apr 18, 2024
@nate-chandler nate-chandler deleted the cherrypick/release/6.0/bitwise-copyable/20240327/1 branch April 18, 2024 19:46
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