about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-01 17:51:31 +0100
committerGitHub <noreply@github.com>2024-03-01 17:51:31 +0100
commit47a491d9f02db53a28a7a61c72a8bf89ed7933a7 (patch)
treef1030848ce66bfdfa0261ed51cc1b908d24c9154 /compiler/rustc_codegen_llvm/src
parentb5ef517ed56093aabf65f6c763b3f37f2440a41c (diff)
parent44f0043e82fb2d3156434797f2e638cb61b07ce9 (diff)
downloadrust-47a491d9f02db53a28a7a61c72a8bf89ed7933a7.tar.gz
rust-47a491d9f02db53a28a7a61c72a8bf89ed7933a7.zip
Rollup merge of #121819 - nnethercote:fix-121812, r=oli-obk
Handle stashing of delayed bugs

By just emitting them immediately, because it does happen in practice, when errors are downgraded to delayed bugs.

We already had one case in `lint.rs` where we handled this at the callsite. This commit changes things so it's handled within `stash_diagnostic` instead, because #121812 identified a second case, and it's possible there are more.

Fixes #121812.

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