We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 624c183 commit d9f0134Copy full SHA for d9f0134
lib/Sema/CSDiag.cpp
@@ -8733,8 +8733,7 @@ bool FailureDiagnosis::diagnoseArchetypeAmbiguity() {
8733
tv, constraints, ConstraintGraph::GatheringKind::EquivalenceClass,
8734
[&](Constraint *constraint) -> bool {
8735
// We are not interested in ConformsTo constraints because
8736
- // such constraints specify restrictions on the archetypes
8737
- // themselves.
+ // we can't derive any concrete type information from them.
8738
if (constraint->getKind() == ConstraintKind::ConformsTo)
8739
return false;
8740
0 commit comments