mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Diagnose that where clause is not supported
This commit is contained in:
@@ -6408,6 +6408,11 @@ bool InvalidPackExpansion::diagnoseAsError() {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool InvalidWhereClauseInPackIteration::diagnoseAsError() {
|
||||
emitDiagnostic(diag::pack_iteration_where_clause_not_supported);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CollectionElementContextualFailure::diagnoseAsError() {
|
||||
auto anchor = getRawAnchor();
|
||||
auto *locator = getLocator();
|
||||
|
||||
Reference in New Issue
Block a user