diff options
| author | Stypox <stypox@pm.me> | 2025-07-31 12:16:18 +0200 |
|---|---|---|
| committer | Stypox <stypox@pm.me> | 2025-08-11 14:34:23 +0200 |
| commit | 99769bc301d6e9187d0e7881bb36162fd48fd573 (patch) | |
| tree | 8287da05ae501078b34a93766fbce9cb3c8c8c11 /compiler/rustc_const_eval/src/interpret/eval_context.rs | |
| parent | a6620a45bd29575cce67b6a0ab2956aef105e324 (diff) | |
| download | rust-99769bc301d6e9187d0e7881bb36162fd48fd573.tar.gz rust-99769bc301d6e9187d0e7881bb36162fd48fd573.zip | |
Add tracing to resolve-related functions
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/eval_context.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/eval_context.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/eval_context.rs b/compiler/rustc_const_eval/src/interpret/eval_context.rs index c4b705d7124..d0e9b5c71c6 100644 --- a/compiler/rustc_const_eval/src/interpret/eval_context.rs +++ b/compiler/rustc_const_eval/src/interpret/eval_context.rs @@ -344,6 +344,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { def: DefId, args: GenericArgsRef<'tcx>, ) -> InterpResult<'tcx, ty::Instance<'tcx>> { + let _trace = enter_trace_span!(M, resolve::try_resolve, def = ?def); trace!("resolve: {:?}, {:#?}", def, args); trace!("typing_env: {:#?}", self.typing_env); trace!("args: {:#?}", args); |
