File tree Expand file tree Collapse file tree
compiler/rustc_hir_analysis/src/hir_ty_lowering Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2797,6 +2797,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
27972797 }
27982798
27992799 /// Literals are eagerly converted to a constant, everything else becomes `Unevaluated`.
2800+ #[ instrument( skip( self ) , level = "debug" ) ]
28002801 fn lower_const_arg_anon ( & self , anon : & AnonConst ) -> Const < ' tcx > {
28012802 let tcx = self . tcx ( ) ;
28022803
@@ -2827,6 +2828,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
28272828 tcx. at ( span) . lit_to_const ( input)
28282829 }
28292830
2831+ #[ instrument( skip( self ) , level = "debug" ) ]
28302832 fn try_lower_anon_const_lit (
28312833 & self ,
28322834 ty : Ty < ' tcx > ,
@@ -2949,6 +2951,7 @@ impl<'tcx> dyn HirTyLowerer<'tcx> + '_ {
29492951 }
29502952
29512953 /// Lower a type from the HIR to our internal notion of a type.
2954+ #[ instrument( level = "debug" , skip( self ) , ret) ]
29522955 pub fn lower_ty ( & self , hir_ty : & hir:: Ty < ' tcx > ) -> Ty < ' tcx > {
29532956 let tcx = self . tcx ( ) ;
29542957
You can’t perform that action at this time.
0 commit comments