Add tracing instrumentation, just like queries automatically add it
This commit is contained in:
parent
2157f31731
commit
9defc971f1
@ -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…
x
Reference in New Issue
Block a user