Directly use the instrument
macro instead of its full path
This commit is contained in:
parent
4f9898a794
commit
d3b22c7267
25 changed files with 86 additions and 89 deletions
|
@ -2153,7 +2153,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
}
|
||||
}
|
||||
|
||||
#[tracing::instrument(level = "debug", skip(self))]
|
||||
#[instrument(level = "debug", skip(self))]
|
||||
fn match_impl(
|
||||
&mut self,
|
||||
impl_def_id: DefId,
|
||||
|
@ -2335,7 +2335,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
/// impl or trait. The obligations are substituted and fully
|
||||
/// normalized. This is used when confirming an impl or default
|
||||
/// impl.
|
||||
#[tracing::instrument(level = "debug", skip(self, cause, param_env))]
|
||||
#[instrument(level = "debug", skip(self, cause, param_env))]
|
||||
fn impl_or_trait_obligations(
|
||||
&mut self,
|
||||
cause: &ObligationCause<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue