Skip to content

Commit bf8f9a8

Browse files
committed
Add missing package acl in diags
1 parent 37af51d commit bf8f9a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6040,7 +6040,7 @@ ERROR(frozen_attr_on_internal_type,
60406040

60416041
ERROR(usable_from_inline_attr_with_explicit_access,
60426042
none, "'@usableFromInline' attribute can only be applied to internal "
6043-
"declarations, but %0 is %select{private|fileprivate|%error|public|open}1",
6043+
"declarations, but %0 is %select{private|fileprivate|%error|package|public|open}1",
60446044
(DeclName, AccessLevel))
60456045

60466046
WARNING(inlinable_implies_usable_from_inline,none,
@@ -6918,9 +6918,9 @@ ERROR(runtime_attribute_type_failable_init,none,
69186918
"runtime attribute type initializer %0 cannot be failable", (DeclName))
69196919

69206920
ERROR(runtime_attribute_type_requirement_not_accessible,none,
6921-
"%select{private|fileprivate|internal|public|open}0 %1 %2 cannot have "
6921+
"%select{private|fileprivate|internal|package|public|open}0 %1 %2 cannot have "
69226922
"more restrictive access than its enclosing runtime attribute type %3 "
6923-
"(which is %select{private|fileprivate|internal|public|open}4)",
6923+
"(which is %select{private|fileprivate|internal|package|public|open}4)",
69246924
(AccessLevel, DescriptiveDeclKind, DeclName, Type, AccessLevel))
69256925

69266926

0 commit comments

Comments
 (0)