File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
compiler/rustc_middle/src/ty Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,7 @@ impl<'tcx> Const<'tcx> {
184184 /// `param_def_id` is the [`DefId`] of the declared param that this [`ConstArg`] is being
185185 /// supplied to. We need this in case this `ConstArg` is a [`ConstArgKind::Anon`]
186186 /// so we can tell the [`AnonConst`] what type it should be.
187+ #[ instrument( skip( tcx) , level = "debug" ) ]
187188 pub fn from_const_arg (
188189 tcx : TyCtxt < ' tcx > ,
189190 const_arg : & ' tcx hir:: ConstArg < ' tcx > ,
@@ -199,6 +200,7 @@ impl<'tcx> Const<'tcx> {
199200 ///
200201 /// This distinction is only relevant for [`hir::ConstArgKind::Anon`];
201202 /// see [`Self::from_const_arg_without_feeding`].
203+ #[ instrument( skip( tcx) , level = "debug" ) ]
202204 pub fn from_const_arg_without_feeding (
203205 tcx : TyCtxt < ' tcx > ,
204206 const_arg : & ' tcx hir:: ConstArg < ' tcx > ,
You can’t perform that action at this time.
0 commit comments