mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #67546 from gottesmm/pr-9bcf05ac3fb12f2872cc63507f782c766eba18b7
[sema] Ban user created read/set accessor that produce noncopyable types
This commit is contained in:
@@ -7365,6 +7365,9 @@ ERROR(noncopyable_types_cannot_be_resilient, none,
|
||||
"non-@frozen public and @usableFromInline noncopyable types are not "
|
||||
"supported",
|
||||
(const ValueDecl *))
|
||||
ERROR(noncopyable_cannot_have_read_set_accessor,none,
|
||||
"noncopyable %select{variable|subscript}0 cannot provide a read and set accessor",
|
||||
(unsigned))
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// MARK: Runtime discoverable attributes (@runtimeMetadata)
|
||||
|
||||
Reference in New Issue
Block a user