about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/json.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-02-29 17:08:38 +0100
committerGitHub <noreply@github.com>2024-02-29 17:08:38 +0100
commita5945b5d8d0b5b19aa01926ce3cd8c33de6fde8e (patch)
tree6118e12c1d02f480d17e49098893eafb2b6a94d2 /compiler/rustc_errors/src/json.rs
parenteea8ceed54033b7967fe9e7d4c26d2a0942ef722 (diff)
parent82961c0abcd7b9ea73fb87fd049e2e853abd5787 (diff)
downloadrust-a5945b5d8d0b5b19aa01926ce3cd8c33de6fde8e.tar.gz
rust-a5945b5d8d0b5b19aa01926ce3cd8c33de6fde8e.zip
Rollup merge of #121669 - nnethercote:count-stashed-errs-again, r=estebank
Count stashed errors again

Stashed diagnostics are such a pain. Their "might be emitted, might not" semantics messes with lots of things.

#120828 and #121206 made some big changes to how they work, improving some things, but still leaving some problems, as seen by the issues caused by #121206. This PR aims to fix all of them by restricting them in a way that eliminates the "might be emitted, might not" semantics while still allowing 98% of their benefit. Details in the individual commit logs.

r? `@oli-obk`
Diffstat (limited to 'compiler/rustc_errors/src/json.rs')
0 files changed, 0 insertions, 0 deletions