Make inline and regular diagnostics more related (#34237)

Release Notes:

- N/A
a1188848efKirill Bulatov committed on 7/10/2025, 9:11:49 PM· committed by GitHubparent7588280
3 files changedLine totals unavailable