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 1e1c3fe commit b44e7d1Copy full SHA for b44e7d1
test/attr/accessibility.swift
@@ -260,8 +260,8 @@ public protocol PublicInitProto {
260
public struct NonPublicInitStruct: PublicInitProto {
261
public var value: Int
262
init(value: Int) {
263
-// expected-error@-1 {{initializer 'init(value:)' must be declared public because it matches a requirement in public protocol 'PublicInitProto'}}
264
-// expected-note@-2 {{mark the initializer as 'public' to satisfy the requirement}}
+ // expected-error@-1 {{initializer 'init(value:)' must be declared public because it matches a requirement in public protocol 'PublicInitProto'}}
+ // expected-note@-2 {{mark the initializer as 'public' to satisfy the requirement}}
265
self.value = value
266
}
267
0 commit comments