Add tracing instrumentation, just like queries automatically add it
This commit is contained in:
parent
2157f31731
commit
9defc971f1
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ macro_rules! declare_hooks {
|
|||
$(#[$attr])*
|
||||
#[inline(always)]
|
||||
#[must_use]
|
||||
#[instrument(level = "debug", skip(self), ret)]
|
||||
pub fn $name(self, $($arg: $K,)*) -> $V
|
||||
{
|
||||
(self.tcx.hooks.$name)(self, $($arg,)*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue