mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
A value type like a struct or enum cannot conform to Copyable if it has a deinit. When NoncopyableGenerics is enabled, we make that part of what is required to verify that such a nominal type conforms to Copyable. This change also does some refactoring to share common code to point out how to make a type noncopyable.
720 B
720 B