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