Serialization: Minor improvements to the error on conformance mismatch

Clarify the sources of information when a conformance reference in a
swiftmodule doesn't match with the requirements seen by the reader.
This commit is contained in:
Alexis Laferrière
2025-12-10 15:08:03 -08:00
parent 5e952e9b22
commit 175d0ba8e6
3 changed files with 7 additions and 7 deletions

View File

@@ -1092,8 +1092,8 @@ NOTE(modularization_issue_conformance_xref_note,none,
"Breaks conformances of '%0' to %1",
(StringRef, DeclName))
ERROR(modularization_issue_conformance_error,none,
"Conformances of '%0' "
"do not match requirement signature of %1; "
"Listed conformances of '%0' "
"do not match current requirement signature of %1; "
"%2 conformances for %3 requirements",
(StringRef, DeclName, unsigned int, unsigned int))