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 @@ -221,6 +221,7 @@ impl<'tcx> Const<'tcx> {
221221 /// `param_def_id` is the [`DefId`] of the declared param that this [`ConstArg`] is being
222222 /// supplied to. We need this in case this `ConstArg` is a [`ConstArgKind::Anon`]
223223 /// so we can tell the [`AnonConst`] what type it should be.
224+ #[ instrument( skip( tcx) , level = "debug" ) ]
224225 pub fn from_const_arg (
225226 tcx : TyCtxt < ' tcx > ,
226227 const_arg : & ' tcx hir:: ConstArg < ' tcx > ,
@@ -236,6 +237,7 @@ impl<'tcx> Const<'tcx> {
236237 ///
237238 /// This distinction is only relevant for [`hir::ConstArgKind::Anon`];
238239 /// see [`Self::from_const_arg_without_feeding`].
240+ #[ instrument( skip( tcx) , level = "debug" ) ]
239241 pub fn from_const_arg_without_feeding (
240242 tcx : TyCtxt < ' tcx > ,
241243 const_arg : & ' tcx hir:: ConstArg < ' tcx > ,
You can’t perform that action at this time.
0 commit comments