Skip to content

Commit 58bcbb2

Browse files
committed
fix diagnostics message for conditional conformance with marker protocol
1 parent 15a3448 commit 58bcbb2

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
@@ -6447,7 +6447,7 @@ ERROR(marker_protocol_cast,none,
64476447
"marker protocol %0 cannot be used in a conditional cast", (DeclName))
64486448
ERROR(marker_protocol_conditional_conformance,none,
64496449
"conditional conformance to non-marker protocol %0 cannot depend on "
6450-
"conformance of %1 to non-marker protocol %2",
6450+
"conformance of %1 to marker protocol %2",
64516451
(Identifier, Type, Identifier))
64526452

64536453
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)