Revert "Fix `editor::GoToDiagnostics` cycle (#24446)" (#24568)

This reverts commit 4f65cfa93d183295289a4313e550c434b8ab7fc7.

Release Notes:

- N/A
4f7200527cKirill Bulatov committed on 2/10/2025, 5:13:12 PM· committed by GitHubparentde8d4d0
2 files changedLine totals unavailable