diff options
| author | Stypox <stypox@pm.me> | 2025-08-12 12:16:43 +0200 | 
|---|---|---|
| committer | Stypox <stypox@pm.me> | 2025-08-18 21:43:27 +0200 | 
| commit | dc72692591c937e15cb016c57d4dee6a81340bbd (patch) | |
| tree | 74a4c613ff66eaa3ec1a48ef7c50400760b45b91 /compiler/rustc_const_eval/src/interpret/validity.rs | |
| parent | a1531335fe2807715fff569904d99602022643a7 (diff) | |
| download | rust-dc72692591c937e15cb016c57d4dee6a81340bbd.tar.gz rust-dc72692591c937e15cb016c57d4dee6a81340bbd.zip | |
Add tracing to various miscellaneous functions
Also use tracing macro syntax instead of format()
Diffstat (limited to 'compiler/rustc_const_eval/src/interpret/validity.rs')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/validity.rs | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/compiler/rustc_const_eval/src/interpret/validity.rs b/compiler/rustc_const_eval/src/interpret/validity.rs index ed48f53c310..db4e8e83ff2 100644 --- a/compiler/rustc_const_eval/src/interpret/validity.rs +++ b/compiler/rustc_const_eval/src/interpret/validity.rs @@ -1418,7 +1418,9 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { let _span = enter_trace_span!( M, "validate_operand", - "recursive={recursive}, reset_provenance_and_padding={reset_provenance_and_padding}, val={val:?}" + recursive, + reset_provenance_and_padding, + ?val, ); // Note that we *could* actually be in CTFE here with `-Zextra-const-ub-checks`, but it's | 
