[Diagnostics] NFC: Remove unused last argument from requirement failure notes

This commit is contained in:
Pavel Yaskevich
2021-06-25 13:44:30 -07:00
parent b4976df82c
commit 51fe32dc1a
3 changed files with 8 additions and 8 deletions

View File

@@ -400,7 +400,7 @@ bool RequirementFailure::diagnoseAsNote() {
const auto *reqDC = getRequirementDC();
emitDiagnosticAt(reqDC->getAsDecl(), getDiagnosticAsNote(), getLHS(),
getRHS(), req.getFirstType(), req.getSecondType(), "");
getRHS(), req.getFirstType(), req.getSecondType());
return true;
}