@@ -220,7 +220,7 @@ impl ResolverAstLoweringExt for ResolverAstLowering {
220
220
/// Panics if no map has been pushed.
221
221
/// Remapping is used when creating lowering `-> impl Trait` return
222
222
/// types to create the resulting opaque type.
223
- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
223
+ #[ instrument( level = "debug" , skip( self ) ) ]
224
224
fn record_def_id_remap ( & mut self , from : LocalDefId , to : LocalDefId ) {
225
225
self . generics_def_id_map . last_mut ( ) . expect ( "no map pushed" ) . insert ( from, to) ;
226
226
}
@@ -771,7 +771,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
771
771
}
772
772
773
773
/// Converts a lifetime into a new generic parameter.
774
- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
774
+ #[ instrument( level = "debug" , skip( self ) ) ]
775
775
fn lifetime_res_to_generic_param (
776
776
& mut self ,
777
777
ident : Ident ,
@@ -815,7 +815,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
815
815
/// name resolver owing to lifetime elision; this also populates the resolver's node-id->def-id
816
816
/// map, so that later calls to `opt_node_id_to_def_id` that refer to these extra lifetime
817
817
/// parameters will be successful.
818
- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
818
+ #[ instrument( level = "debug" , skip( self ) ) ]
819
819
#[ inline]
820
820
fn lower_lifetime_binder (
821
821
& mut self ,
@@ -1385,7 +1385,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
1385
1385
/// added explicitly in the HIR). But this includes all the lifetimes, and we only want to
1386
1386
/// capture the lifetimes that are referenced in the bounds. Therefore, we add *extra* lifetime parameters
1387
1387
/// 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 ) ) ]
1389
1389
fn lower_opaque_impl_trait (
1390
1390
& mut self ,
1391
1391
span : Span ,
@@ -1621,7 +1621,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
1621
1621
// `make_ret_async`: if `Some`, converts `-> T` into `-> impl Future<Output = T>` in the
1622
1622
// return type. This is used for `async fn` declarations. The `NodeId` is the ID of the
1623
1623
// return type `impl Trait` item.
1624
- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
1624
+ #[ instrument( level = "debug" , skip( self ) ) ]
1625
1625
fn lower_fn_decl (
1626
1626
& mut self ,
1627
1627
decl : & FnDecl ,
@@ -1730,7 +1730,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
1730
1730
// `output`: unlowered output type (`T` in `-> T`)
1731
1731
// `fn_def_id`: `DefId` of the parent function (used to create child impl trait definition)
1732
1732
// `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 ) ) ]
1734
1734
fn lower_async_fn_ret_ty (
1735
1735
& mut self ,
1736
1736
output : & FnRetTy ,
@@ -2013,7 +2013,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
2013
2013
self . new_named_lifetime ( l. id , l. id , span, ident)
2014
2014
}
2015
2015
2016
- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
2016
+ #[ instrument( level = "debug" , skip( self ) ) ]
2017
2017
fn new_named_lifetime_with_res (
2018
2018
& mut self ,
2019
2019
id : NodeId ,
@@ -2044,7 +2044,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
2044
2044
hir:: Lifetime { hir_id : self . lower_node_id ( id) , span : self . lower_span ( span) , name }
2045
2045
}
2046
2046
2047
- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
2047
+ #[ instrument( level = "debug" , skip( self ) ) ]
2048
2048
fn new_named_lifetime (
2049
2049
& mut self ,
2050
2050
id : NodeId ,
@@ -2132,7 +2132,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
2132
2132
hir:: TraitRef { path, hir_ref_id : self . lower_node_id ( p. ref_id ) }
2133
2133
}
2134
2134
2135
- #[ tracing :: instrument( level = "debug" , skip( self ) ) ]
2135
+ #[ instrument( level = "debug" , skip( self ) ) ]
2136
2136
fn lower_poly_trait_ref (
2137
2137
& mut self ,
2138
2138
p : & PolyTraitRef ,
0 commit comments