Skip to content

Commit da521b9

Browse files
committed
Fix spacing in diagnostic
Avoid printing a spurious space when not printing the `attribute` branch of this diagnostic.
1 parent 2c88d52 commit da521b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/AST/DiagnosticsSema.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ ERROR(class_cannot_be_addressable_for_dependencies,none,
319319
"a class cannot be @_addressableForDependencies", ())
320320

321321
ERROR(unsupported_closure_attr,none,
322-
"%select{attribute |}0 '%1' is not supported on a closure",
322+
"%select{attribute |}0'%1' is not supported on a closure",
323323
(bool, StringRef))
324324

325325
NOTE(suggest_partial_overloads,none,

0 commit comments

Comments
 (0)