We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f4e024 commit 770912eCopy full SHA for 770912e
test/attr/attr_specialize.swift
@@ -182,7 +182,6 @@ public protocol Proto: class {
182
}
183
184
@_specialize(where T: _RefCountedObject)
185
-// expected-warning@-1{{redundant layout constraint 'T' : '_RefCountedObject'}}
186
@_specialize(where T: _Trivial)
187
// expected-error@-1{{generic parameter 'T' has conflicting layout constraints '_Trivial' and '_NativeClass'}}
188
@_specialize(where T: _Trivial(64))
0 commit comments