about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-02-12 16:48:45 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2024-02-13 09:33:35 +1100
commit9f2aa09765d49a8f5645352f73008f594dca61b4 (patch)
tree80023012e00196b6c4d5f5ded1664c1d6676ac2f /compiler/rustc_errors/src/snippet.rs
parent173dbc9e13247290d2f69aed83e6e662e5a91136 (diff)
downloadrust-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