@@ -220,7 +220,7 @@ impl ResolverAstLoweringExt for ResolverAstLowering {
220220 /// Panics if no map has been pushed.
221221 /// Remapping is used when creating lowering `-> impl Trait` return
222222 /// types to create the resulting opaque type.
223- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
223+ #[ instrument( level = "debug" , skip( self ) ) ]
224224 fn record_def_id_remap ( & mut self , from : LocalDefId , to : LocalDefId ) {
225225 self . generics_def_id_map . last_mut ( ) . expect ( "no map pushed" ) . insert ( from, to) ;
226226 }
@@ -771,7 +771,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
771771 }
772772
773773 /// Converts a lifetime into a new generic parameter.
774- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
774+ #[ instrument( level = "debug" , skip( self ) ) ]
775775 fn lifetime_res_to_generic_param (
776776 & mut self ,
777777 ident : Ident ,
@@ -815,7 +815,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
815815 /// name resolver owing to lifetime elision; this also populates the resolver's node-id->def-id
816816 /// map, so that later calls to `opt_node_id_to_def_id` that refer to these extra lifetime
817817 /// parameters will be successful.
818- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
818+ #[ instrument( level = "debug" , skip( self ) ) ]
819819 #[ inline]
820820 fn lower_lifetime_binder (
821821 & mut self ,
@@ -1385,7 +1385,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
13851385 /// added explicitly in the HIR). But this includes all the lifetimes, and we only want to
13861386 /// capture the lifetimes that are referenced in the bounds. Therefore, we add *extra* lifetime parameters
13871387 /// for the lifetimes that get captured (`'x`, in our example above) and reference those.
1388- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
1388+ #[ instrument( level = "debug" , skip( self ) ) ]
13891389 fn lower_opaque_impl_trait (
13901390 & mut self ,
13911391 span : Span ,
@@ -1621,7 +1621,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
16211621 // `make_ret_async`: if `Some`, converts `-> T` into `-> impl Future<Output = T>` in the
16221622 // return type. This is used for `async fn` declarations. The `NodeId` is the ID of the
16231623 // return type `impl Trait` item.
1624- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
1624+ #[ instrument( level = "debug" , skip( self ) ) ]
16251625 fn lower_fn_decl (
16261626 & mut self ,
16271627 decl : & FnDecl ,
@@ -1730,7 +1730,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
17301730 // `output`: unlowered output type (`T` in `-> T`)
17311731 // `fn_def_id`: `DefId` of the parent function (used to create child impl trait definition)
17321732 // `opaque_ty_node_id`: `NodeId` of the opaque `impl Trait` type that should be created
1733- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
1733+ #[ instrument( level = "debug" , skip( self ) ) ]
17341734 fn lower_async_fn_ret_ty (
17351735 & mut self ,
17361736 output : & FnRetTy ,
@@ -2013,7 +2013,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
20132013 self . new_named_lifetime ( l. id , l. id , span, ident)
20142014 }
20152015
2016- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
2016+ #[ instrument( level = "debug" , skip( self ) ) ]
20172017 fn new_named_lifetime_with_res (
20182018 & mut self ,
20192019 id : NodeId ,
@@ -2044,7 +2044,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
20442044 hir:: Lifetime { hir_id : self . lower_node_id ( id) , span : self . lower_span ( span) , name }
20452045 }
20462046
2047- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
2047+ #[ instrument( level = "debug" , skip( self ) ) ]
20482048 fn new_named_lifetime (
20492049 & mut self ,
20502050 id : NodeId ,
@@ -2132,7 +2132,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
21322132 hir:: TraitRef { path, hir_ref_id : self . lower_node_id ( p. ref_id ) }
21332133 }
21342134
2135- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
2135+ #[ instrument( level = "debug" , skip( self ) ) ]
21362136 fn lower_poly_trait_ref (
21372137 & mut self ,
21382138 p : & PolyTraitRef ,
0 commit comments