You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Sema/accessibility_private.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -188,7 +188,7 @@ extension Container {
188
188
fileprivatefunc privateMethod(_:VeryPrivateStruct)->Void{} // expected-warning {{method should not be declared fileprivate because its parameter uses a private type}} {{none}}
189
189
fileprivateenumPrivateRawValue:VeryPrivateStruct{} // expected-warning {{enum should not be declared fileprivate because its raw type uses a private type}} {{none}}
190
190
// expected-error@-1 {{raw type 'Container.VeryPrivateStruct' is not expressible by any literal}}
191
-
// expected-error@-2 {{'Container.PrivateRawValue' declares raw type 'Container.VeryPrivateStruct', but does not conform to RawRepresentable and conformance could not be synthesized}}
191
+
// expected-error@-2 {{type 'Container.PrivateRawValue' does not conform to protocol 'RawRepresentable'}}
192
192
fileprivateenumPrivatePayload{
193
193
case A(VeryPrivateStruct) // expected-warning {{enum case in an internal enum uses a private type}} {{none}}
0 commit comments