summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/lib.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-02-11 09:24:35 +0100
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-03-22 06:32:23 +0100
commitb79335dbedfbb9599970c209c3f3e7a5e3e7b992 (patch)
tree2aa3d859b46c0fb3cec6666ae444e4870d4480b6 /compiler/rustc_hir_analysis/src/lib.rs
parent82c2c8deb1fb7640fedfbc49b5647957a1d572db (diff)
downloadrust-b79335dbedfbb9599970c209c3f3e7a5e3e7b992.tar.gz
rust-b79335dbedfbb9599970c209c3f3e7a5e3e7b992.zip
Update local variables and tracing calls
Most of the tracing calls didn't fully leverage the power of `tracing`.
For example, several of them used to hard-code method names / tracing spans
as well as variable names. Use `#[instrument]` and `?var` / `%var` (etc.) instead.

In my opinion, this is the proper way to migrate them from the old
AstConv nomenclature to the new HIR ty lowering one.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/lib.rs')
0 files changed, 0 insertions, 0 deletions