about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-09-06 17:00:29 +0200
committerGitHub <noreply@github.com>2022-09-06 17:00:29 +0200
commit7d2e150e9216af7d7e53f868ea9a6b6ea038b59b (patch)
tree7929a4bac79012c9e1c4c275854837bf07aa06fa /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parentb59c1aa29891da79df8fbba2ea915ac2275781e2 (diff)
parent38935bbe6a91212e77d535dbad31d369e9a4a453 (diff)
downloadrust-7d2e150e9216af7d7e53f868ea9a6b6ea038b59b.tar.gz
rust-7d2e150e9216af7d7e53f868ea9a6b6ea038b59b.zip
Rollup merge of #101471 - compiler-errors:delay-bug-are-count-too, r=oli-obk
Report number of delayed bugs properly with `-Ztreat-err-as-bug`

Report the number of delayed bugs that went into the `-Ztreat-errr-as-bug=N` being triggered, even if we don't count it in the err_count in regular diagnostic output.

Sometimes we have a session that creates a few diagnostics, perhaps: Error, Delay bug, Error, then Delay bug.
If I ran `-Ztreat-err-as-bug=3`, then I will now see "aborting after 2 errors and 1 delayed bugs" instead of just "after 2 errors" which is confusing since I passed `3`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions