@@ -217,7 +217,7 @@ void EnumRawTypeRequest::diagnoseCycle(DiagnosticEngine &diags) const {
217
217
218
218
void EnumRawTypeRequest::noteCycleStep (DiagnosticEngine &diags) const {
219
219
auto *decl = std::get<0 >(getStorage ());
220
- diags.diagnose (decl, diag::decl_declared_here_with_kind , decl);
220
+ diags.diagnose (decl, diag::through_decl_declared_here_with_kind , decl);
221
221
}
222
222
223
223
// ----------------------------------------------------------------------------//
@@ -248,7 +248,7 @@ void ProtocolRequiresClassRequest::diagnoseCycle(DiagnosticEngine &diags) const
248
248
249
249
void ProtocolRequiresClassRequest::noteCycleStep (DiagnosticEngine &diags) const {
250
250
auto *proto = std::get<0 >(getStorage ());
251
- diags.diagnose (proto, diag::decl_declared_here_with_kind , proto);
251
+ diags.diagnose (proto, diag::through_decl_declared_here_with_kind , proto);
252
252
}
253
253
254
254
std::optional<bool > ProtocolRequiresClassRequest::getCachedResult () const {
@@ -272,7 +272,7 @@ void ExistentialConformsToSelfRequest::diagnoseCycle(DiagnosticEngine &diags) co
272
272
273
273
void ExistentialConformsToSelfRequest::noteCycleStep (DiagnosticEngine &diags) const {
274
274
auto *proto = std::get<0 >(getStorage ());
275
- diags.diagnose (proto, diag::decl_declared_here_with_kind , proto);
275
+ diags.diagnose (proto, diag::through_decl_declared_here_with_kind , proto);
276
276
}
277
277
278
278
std::optional<bool > ExistentialConformsToSelfRequest::getCachedResult () const {
@@ -298,7 +298,7 @@ void HasSelfOrAssociatedTypeRequirementsRequest::diagnoseCycle(
298
298
void HasSelfOrAssociatedTypeRequirementsRequest::noteCycleStep (
299
299
DiagnosticEngine &diags) const {
300
300
auto *proto = std::get<0 >(getStorage ());
301
- diags.diagnose (proto, diag::decl_declared_here_with_kind , proto);
301
+ diags.diagnose (proto, diag::through_decl_declared_here_with_kind , proto);
302
302
}
303
303
304
304
std::optional<bool >
@@ -1448,7 +1448,7 @@ void HasCircularInheritedProtocolsRequest::diagnoseCycle(
1448
1448
void HasCircularInheritedProtocolsRequest::noteCycleStep (
1449
1449
DiagnosticEngine &diags) const {
1450
1450
auto *decl = std::get<0 >(getStorage ());
1451
- diags.diagnose (decl, diag::decl_declared_here_with_kind , decl);
1451
+ diags.diagnose (decl, diag::through_decl_declared_here_with_kind , decl);
1452
1452
}
1453
1453
1454
1454
// ----------------------------------------------------------------------------//
@@ -1462,7 +1462,7 @@ void HasCircularRawValueRequest::diagnoseCycle(DiagnosticEngine &diags) const {
1462
1462
1463
1463
void HasCircularRawValueRequest::noteCycleStep (DiagnosticEngine &diags) const {
1464
1464
auto *decl = std::get<0 >(getStorage ());
1465
- diags.diagnose (decl, diag::decl_declared_here_with_kind , decl);
1465
+ diags.diagnose (decl, diag::through_decl_declared_here_with_kind , decl);
1466
1466
}
1467
1467
1468
1468
// ----------------------------------------------------------------------------//
0 commit comments