@@ -217,7 +217,7 @@ void EnumRawTypeRequest::diagnoseCycle(DiagnosticEngine &diags) const {
217217
218218void EnumRawTypeRequest::noteCycleStep (DiagnosticEngine &diags) const {
219219 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);
221221}
222222
223223// ----------------------------------------------------------------------------//
@@ -248,7 +248,7 @@ void ProtocolRequiresClassRequest::diagnoseCycle(DiagnosticEngine &diags) const
248248
249249void ProtocolRequiresClassRequest::noteCycleStep (DiagnosticEngine &diags) const {
250250 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);
252252}
253253
254254std::optional<bool > ProtocolRequiresClassRequest::getCachedResult () const {
@@ -272,7 +272,7 @@ void ExistentialConformsToSelfRequest::diagnoseCycle(DiagnosticEngine &diags) co
272272
273273void ExistentialConformsToSelfRequest::noteCycleStep (DiagnosticEngine &diags) const {
274274 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);
276276}
277277
278278std::optional<bool > ExistentialConformsToSelfRequest::getCachedResult () const {
@@ -298,7 +298,7 @@ void HasSelfOrAssociatedTypeRequirementsRequest::diagnoseCycle(
298298void HasSelfOrAssociatedTypeRequirementsRequest::noteCycleStep (
299299 DiagnosticEngine &diags) const {
300300 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);
302302}
303303
304304std::optional<bool >
@@ -1448,7 +1448,7 @@ void HasCircularInheritedProtocolsRequest::diagnoseCycle(
14481448void HasCircularInheritedProtocolsRequest::noteCycleStep (
14491449 DiagnosticEngine &diags) const {
14501450 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);
14521452}
14531453
14541454// ----------------------------------------------------------------------------//
@@ -1462,7 +1462,7 @@ void HasCircularRawValueRequest::diagnoseCycle(DiagnosticEngine &diags) const {
14621462
14631463void HasCircularRawValueRequest::noteCycleStep (DiagnosticEngine &diags) const {
14641464 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);
14661466}
14671467
14681468// ----------------------------------------------------------------------------//
0 commit comments