rust/compiler/rustc_hir_analysis
Nicholas Nethercote 44f0043e82 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.
2024-03-01 10:18:54 +11:00
..
2024-03-01 10:18:54 +11:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.