rust-analyzer/crates
bors 039681112f 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">
2024-01-31 18:29:51 +00:00
..
base-db internal: switch to tracing from log 2024-01-30 12:27:31 -05:00
cfg Cleanup convert_path 2024-01-26 19:28:39 +01:00
flycheck Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
hir internal: Remove unnecessary usages of ExpansionInfo 2024-01-31 09:57:17 +01:00
hir-def Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
hir-expand internal: Remove unnecessary usages of ExpansionInfo 2024-01-31 09:57:17 +01:00
hir-ty Auto merge of #16456 - davidbarsky:david/tracing-followups, r=Veykril 2024-01-31 18:29:51 +00:00
ide Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
ide-assists Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
ide-completion Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
ide-db Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
ide-diagnostics Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
ide-ssr Re-order mod declarations 2024-01-27 11:02:34 +01:00
intern Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
limit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
load-cargo Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
mbe minor: correct typos 2024-01-30 21:43:43 +08:00
parser Re-order mod declarations 2024-01-27 11:02:34 +01:00
paths Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
proc-macro-api internal: switch to tracing from log 2024-01-30 12:27:31 -05:00
proc-macro-srv Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
proc-macro-srv-cli Merge commit '9d8889cdfcc3aa0302353fc988ed21ff9bc9925c' into sync-from-ra 2024-01-15 11:40:09 +02:00
profile internal: switch to tracing from log 2024-01-30 12:27:31 -05:00
project-model internal: switch to tracing from log 2024-01-30 12:27:31 -05:00
rust-analyzer Auto merge of #16456 - davidbarsky:david/tracing-followups, r=Veykril 2024-01-31 18:29:51 +00:00
sourcegen Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
span Don't parse intra doc links as syntax trees 2024-01-26 20:00:47 +01:00
stdx internal: switch to tracing from log 2024-01-30 12:27:31 -05:00
syntax Auto merge of #16448 - Young-Flash:typos, r=lnicola 2024-01-31 13:29:55 +00:00
test-fixture Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
test-utils internal: switch to tracing from log 2024-01-30 12:27:31 -05:00
text-edit Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
toolchain Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
tt Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
vfs Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00
vfs-notify Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00