Files
rust/compiler/rustc_errors
Nicholas Nethercote 8084d720c5 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.
2026-09-23 15:57:35 +10:00
..
2026-09-23 15:57:35 +10:00