about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-31 18:29:51 +0000
committerbors <bors@rust-lang.org>2024-01-31 18:29:51 +0000
commit039681112f4715186cc9c7988c66826f59b8930e (patch)
tree4df871b505bb328ba6e6eed08d0af9f4bc61b651 /compiler/rustc_mir_transform/src
parent355c9444e1f1ac7fad32ed1c17be832ff8b06f3e (diff)
parent44494e235a0558c531173fe25ede4f164ea2e4ef (diff)
downloadrust-039681112f4715186cc9c7988c66826f59b8930e.tar.gz
rust-039681112f4715186cc9c7988c66826f59b8930e.zip
Auto merge of #16456 - davidbarsky:david/tracing-followups, r=Veykril
internal: `tracing` improvements and followups

Hi folks! Building on https://github.com/rust-lang/rust-analyzer/pull/16394, I've got a few small tweaks:
- Removed the accidental `mod.rs` usage that I introduced.
- Removed a panic in `pat_analysis.rs`.
- Recorded the event kind in `handle_event` to better distinguish what _kind_ of event is being handled.
- Did a small refactor of `hprof` to have somewhat more linear control flow, and more importantly, write the recorded fields to the output.

The end result is the following:
<img width="1530" alt="A screenshot of Visual Studio Code on a Mac. `hprof.rs` is open, with " src="https://github.com/rust-lang/rust-analyzer/assets/2067774/bd11dde5-b2da-4774-bc38-bcb4772d1192">
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions