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> {
184
184
/// `param_def_id` is the [`DefId`] of the declared param that this [`ConstArg`] is being
185
185
/// supplied to. We need this in case this `ConstArg` is a [`ConstArgKind::Anon`]
186
186
/// so we can tell the [`AnonConst`] what type it should be.
187
+ #[ instrument( skip( tcx) , level = "debug" ) ]
187
188
pub fn from_const_arg (
188
189
tcx : TyCtxt < ' tcx > ,
189
190
const_arg : & ' tcx hir:: ConstArg < ' tcx > ,
@@ -199,6 +200,7 @@ impl<'tcx> Const<'tcx> {
199
200
///
200
201
/// This distinction is only relevant for [`hir::ConstArgKind::Anon`];
201
202
/// see [`Self::from_const_arg_without_feeding`].
203
+ #[ instrument( skip( tcx) , level = "debug" ) ]
202
204
pub fn from_const_arg_without_feeding (
203
205
tcx : TyCtxt < ' tcx > ,
204
206
const_arg : & ' tcx hir:: ConstArg < ' tcx > ,
You can’t perform that action at this time.
0 commit comments