Skip to content

[BitwiseCopyable] Don't diagnose implicit checks. #71456

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

Previously, the diagnostics for conforming a non-escaping or non-copyable type to _BitwiseCopyable were emitted even in the case of an implicit check for conformance. Here this is fixed to suppress the diagnostics in the case of an implicit check as is done for other diagnostics.

Previously, the diagnostics for conforming a non-escaping or
non-copyable type to `_BitwiseCopyable` were emitted even in the case of
an implicit check for conformance.  Here this is fixed to suppress the
diagnostics in the case of an implicit check as is done for other
diagnostics.
@nate-chandler
Copy link
Contributor Author

@swift-ci please test

@nate-chandler
Copy link
Contributor Author

@swift-ci Please Build Toolchain macOS Platform

@nate-chandler
Copy link
Contributor Author

preset=ncgenerics,smoketest=macosx
@swift-ci Please test with preset macOS Platform

@nate-chandler nate-chandler marked this pull request as ready for review February 8, 2024 14:45
@nate-chandler nate-chandler merged commit a679bbc into swiftlang:main Feb 8, 2024
@nate-chandler nate-chandler deleted the bitwise-copyable/implicit-nonescaping-noncopyable branch February 8, 2024 14:45
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