Revision eb7772ca1a249686e06b1241b6c43d0c3b748083 authored by Meghana Gupta on 01 March 2024, 19:45:46 UTC, committed by Meghana Gupta on 01 March 2024, 20:15:14 UTC
A destroy_value of Optional.none can be deleted.

A move-only struct with deinit has a non trivial SILType but OwnershipKind::None,
such values cannot be deleted.
1 parent 0b5de06
Raw File
CONTRIBUTING.md
By submitting a pull request, you represent that you have the right to license
your contribution to Apple and the community, and agree by submitting the patch
that your contributions are licensed under the [Swift
license](https://swift.org/LICENSE.txt).

---

Before submitting the pull request, please make sure you have [tested your
changes](https://github.com/apple/swift/blob/main/docs/ContinuousIntegration.md)
and that they follow the Swift project [guidelines for contributing
code](https://swift.org/contributing/#contributing-code).
back to top