MAX_DIAGNOSTICS

private const val MAX_DIAGNOSTICS: Int = 8

Diagnostics rendered in full; the rest are left to the count line. Each one costs a source line and a caret line of its own, so it is the count that bounds this report.