diff options
| author | Stypox <stypox@pm.me> | 2025-08-11 14:45:46 +0200 |
|---|---|---|
| committer | Stypox <stypox@pm.me> | 2025-08-11 14:45:46 +0200 |
| commit | cd4676c40dad98fffb3910854454e58303370f0a (patch) | |
| tree | 4e16604734f0fb84cce85bce43af10be70d645ac /compiler/rustc_const_eval/src/interpret/step.rs | |
| parent | 577166503aee7290e09374da21f4045c455acfd5 (diff) | |
| download | rust-cd4676c40dad98fffb3910854454e58303370f0a.tar.gz rust-cd4676c40dad98fffb3910854454e58303370f0a.zip | |
Turn _span into _trace as trace span name
_span could possibly be confused with the Span type in rustc
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/step.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/step.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/step.rs b/compiler/rustc_const_eval/src/interpret/step.rs index 9df49c0f4cc..76e470b69dc 100644 --- a/compiler/rustc_const_eval/src/interpret/step.rs +++ b/compiler/rustc_const_eval/src/interpret/step.rs @@ -76,7 +76,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { /// /// This does NOT move the statement counter forward, the caller has to do that! pub fn eval_statement(&mut self, stmt: &mir::Statement<'tcx>) -> InterpResult<'tcx> { - let _span = enter_trace_span!( + let _trace = enter_trace_span!( M, step::eval_statement, stmt = ?stmt.kind, @@ -465,7 +465,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { } fn eval_terminator(&mut self, terminator: &mir::Terminator<'tcx>) -> InterpResult<'tcx> { - let _span = enter_trace_span!( + let _trace = enter_trace_span!( M, step::eval_terminator, terminator = ?terminator.kind, |
