Skip to content

Commit c9b960f

Browse files
committed
Update expected output for swift-3.0-branch.
This isn't even what we're really testing; it's just to keep -verify happy.
1 parent b2c2e99 commit c9b960f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sema/accessibility_private.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ extension Container {
188188
fileprivate func privateMethod(_: VeryPrivateStruct) -> Void {} // expected-warning {{method should not be declared fileprivate because its parameter uses a private type}} {{none}}
189189
fileprivate enum PrivateRawValue: VeryPrivateStruct {} // expected-warning {{enum should not be declared fileprivate because its raw type uses a private type}} {{none}}
190190
// 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'}}
192192
fileprivate enum PrivatePayload {
193193
case A(VeryPrivateStruct) // expected-warning {{enum case in an internal enum uses a private type}} {{none}}
194194
}

0 commit comments

Comments
 (0)