Skip to content

Commit dd55d0d

Browse files
committed
Sema: Fix access-level of ExposedLayoutInternalUser in tests
1 parent bf44341 commit dd55d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Sema/hidden-memory-layout.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public struct ExposedLayoutPublicUser {
175175
// expected-embedded-opt-in-error @-1 {{struct 'HiddenLayout' cannot be used in an embedded function not marked '@_neverEmitIntoClient' because it is a struct marked '@_implementationOnly'}}
176176
}
177177

178-
private struct ExposedLayoutInternalUser {
178+
internal struct ExposedLayoutInternalUser {
179179

180180
private var privateField: StructFromDirect
181181
// expected-opt-in-error @-1 {{cannot use struct 'StructFromDirect' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; 'directs' has been imported as implementation-only}}

0 commit comments

Comments
 (0)