Skip to content

Commit 953742d

Browse files
committed
Update diagnostics def message
1 parent c8699c8 commit 953742d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6880,8 +6880,8 @@ ERROR(inlinable_dynamic_not_supported,
68806880
none, "'@inlinable' attribute cannot be applied to 'dynamic' declarations", ())
68816881

68826882
ERROR(inlinable_decl_not_public,
6883-
none, "'@inlinable' attribute can only be applied to package or public declarations, "
6884-
"but %0 is %select{private|fileprivate|internal|%error|%error|%error}1",
6883+
none, "'@inlinable' attribute can only be applied to internal, package, or public declarations, "
6884+
"but %0 is %select{private|fileprivate|%error|%error|%error|%error}1",
68856885
(DeclBaseName, AccessLevel))
68866886

68876887
ERROR(inlinable_resilient_deinit,

0 commit comments

Comments
 (0)