Skip to content

Commit 728aafa

Browse files
committed
Update diagnostics def message
1 parent 573d1b9 commit 728aafa

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
@@ -6897,8 +6897,8 @@ ERROR(inlinable_dynamic_not_supported,
68976897
none, "'@inlinable' attribute cannot be applied to 'dynamic' declarations", ())
68986898

68996899
ERROR(inlinable_decl_not_public,
6900-
none, "'@inlinable' attribute can only be applied to package or public declarations, "
6901-
"but %0 is %select{private|fileprivate|internal|%error|%error|%error}1",
6900+
none, "'@inlinable' attribute can only be applied to internal, package, or public declarations, "
6901+
"but %0 is %select{private|fileprivate|%error|%error|%error|%error}1",
69026902
(DeclBaseName, AccessLevel))
69036903

69046904
ERROR(inlinable_resilient_deinit,

0 commit comments

Comments
 (0)