diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-12 16:48:45 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-13 09:33:35 +1100 |
| commit | 9f2aa09765d49a8f5645352f73008f594dca61b4 (patch) | |
| tree | 80023012e00196b6c4d5f5ded1664c1d6676ac2f /compiler/rustc_errors/src/snippet.rs | |
| parent | 173dbc9e13247290d2f69aed83e6e662e5a91136 (diff) | |
| download | rust-9f2aa09765d49a8f5645352f73008f594dca61b4.tar.gz rust-9f2aa09765d49a8f5645352f73008f594dca61b4.zip | |
Remove `good_path_delayed_bug`.
It's only has a single remaining purpose: to ensure that a diagnostic is printed when `trimmed_def_paths` is used. It's an annoying mechanism: weak, with odd semantics, badly named, and gets in the way of other changes. This commit replaces it with a simpler `must_produce_diag` mechanism, getting rid of a diagnostic `Level` along the way.
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions
