Skip to content

Commit d9f0134

Browse files
committed
[Diagnostics] NFC: Clarify why we don't care about while diagnosing archetype errors
1 parent 624c183 commit d9f0134

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/Sema/CSDiag.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8733,8 +8733,7 @@ bool FailureDiagnosis::diagnoseArchetypeAmbiguity() {
87338733
tv, constraints, ConstraintGraph::GatheringKind::EquivalenceClass,
87348734
[&](Constraint *constraint) -> bool {
87358735
// We are not interested in ConformsTo constraints because
8736-
// such constraints specify restrictions on the archetypes
8737-
// themselves.
8736+
// we can't derive any concrete type information from them.
87388737
if (constraint->getKind() == ConstraintKind::ConformsTo)
87398738
return false;
87408739

0 commit comments

Comments
 (0)