rust/compiler/rustc_errors/src
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
..
json Make JsonEmitter more like HumanEmitter. 2024-02-29 17:50:26 +11:00
markdown apply fmt 2024-01-11 15:04:48 +03:00
annotate_snippet_emitter_writer.rs Rename SubDiagnostic as Subdiag. 2024-02-28 08:33:25 +11:00
codes.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
diagnostic.rs Rollup merge of #121669 - nnethercote:count-stashed-errs-again, r=estebank 2024-02-29 17:08:38 +01:00
diagnostic_impls.rs Rename DiagnosticSymbolList as DiagSymbolList. 2024-02-28 08:55:37 +11:00
emitter.rs Make JsonEmitter more like HumanEmitter. 2024-02-29 17:50:26 +11:00
error.rs Minor visibility and formatting improvements. 2024-02-29 16:30:09 +11:00
json.rs Avoid unnecessary color local variable. 2024-02-29 20:12:43 +11:00
lib.rs Handle stashing of delayed bugs. 2024-03-01 10:18:54 +11:00
lock.rs windows bump to 0.52 2024-02-18 16:02:16 +03:00
registry.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
snippet.rs Rework StringPart. 2024-02-01 19:23:01 +11:00
styled_buffer.rs Replace some _ == _ || _ == _s with matches!(_, _ | _)s 2023-01-30 12:26:26 +00:00
tests.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
translation.rs Rename DiagnosticArg{,Map,Name,Value} as DiagArg{,Map,Name,Value}. 2024-02-28 08:55:37 +11:00