rust-lang/rust (original) (raw)
Consider:
compare it to the AST borrowck output:
- Why are we inverting the order in which we report these diagnostics?
- We may want to consider not doing that. Even if it means e.g. buffering the diangotics and sorting them before emitting them, or some similar hack. (I admit I am loathe to do this since I myself really like when I am able to correlate the
RUST_LOG
output with diagnostic output. But if necessary, we could add a-Z
flag to turn off the buffer+sorting, in order to bring back such correlation. For end users, buffering+sorting is probably a net win.)
An important reason to prioritize this: Fixing this is likely going to make our internal process for comparing the diagnostic output more efficient.