diff options
author | Michael Davis | 2022-10-16 19:52:04 +0000 |
---|---|---|
committer | GitHub | 2022-10-16 19:52:04 +0000 |
commit | 5f4f171b73232e5ec5e4b7153084a93033ab5cf0 (patch) | |
tree | 1764ea953de586216fb024e7f96cc8ef92c72ccd /xtask/src/main.rs | |
parent | 63fe423710df3198293ea14a357b2884ae0445b3 (diff) |
Fix debug assertion for diagnostic sort order (#4319)
The debug assertion that document diagnostics are sorted incorrectly
panics for cases like `[161..164, 162..162]`. The merging behavior
in the following lines that relies on the assertion only needs the
input ranges to be sorted by `range.start`, so this change simplifies
the assertion to only catch violations of that assumption.
Diffstat (limited to 'xtask/src/main.rs')
0 files changed, 0 insertions, 0 deletions