about summary refs log tree commit diff
path: root/compiler/rustc_ast_passes/src/show_span.rs
AgeCommit message (Collapse)AuthorLines
2024-12-04Remove `-Zshow-span`.Nicholas Nethercote-68/+0
It's very old (added in #12087). It's strange, and it's not clear what its use cases are. It only works with the crate root file because it runs before expansion. I suspect it won't be missed.
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+3
This paves the way for tracking more state (e.g. error tainting) in the diagnostic context handle
2024-01-10Rename `{create,emit}_warning` as `{create,emit}_warn`.Nicholas Nethercote-3/+3
For consistency with `warn`/`struct_warn`, and also `{create,emit}_err`, all of which use an abbreviated form.
2023-12-18Rename `ShowSpanVisitor::span_diagnostic` as `ShowSpanVisitor::dcx`.Nicholas Nethercote-6/+6
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-2/+2
2023-02-25Complete migrating `ast_passes` to derive diagnosticsclubby789-3/+5
2022-02-19Adopt let else in more placesest31-3/+2
2020-11-03rustc_ast: Do not panic by default when visiting macro callsVadim Petrochenkov-4/+0
2020-08-30mv compiler to compiler/mark-0/+70