Only include diagnostic instruction once (#29975)

Instead of once per diagnostic error.

Release Notes:

- N/A
49ba4ed49cMax Nordlund committed on 5/11/2025, 3:33:49 PM· committed by GitHubparent06af031
1 file changedLine totals unavailable