Files
rust/compiler/rustc_errors
Jonathan Brouwer 856b213184 Rollup merge of #163196 - nnethercote:rm-DiagInner-sort_span, r=lqd
Remove `DiagInner::sort_span`

It's a field that can be used for sorting diagnostics. By default it is set to the primary span. It's only used for `BorrowckDiagnosticsBuffer`.

This commit removes it and adds a `sort_span` to each diagnostic recorded in `BorrowckDiagnosticsBuffer`. This avoids various other pieces of code having to deal with it.

r? @lqd
2026-09-23 13:43:26 +02:00
..