diff options
| author | Stypox <stypox@pm.me> | 2025-07-06 08:53:50 +0200 |
|---|---|---|
| committer | Stypox <stypox@pm.me> | 2025-07-08 15:24:56 +0200 |
| commit | 3cacaa7d0ebd8994f521fbcfc5277f8725f9348c (patch) | |
| tree | eb7dd22b48b89c0d4f6ab793b8f5d84a13ea85cf | |
| parent | 07143afee43a4b516ca446e5e49570411043dfdb (diff) | |
| download | rust-3cacaa7d0ebd8994f521fbcfc5277f8725f9348c.tar.gz rust-3cacaa7d0ebd8994f521fbcfc5277f8725f9348c.zip | |
Add inline(always) to Machine::enter_trace_span
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/machine.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/machine.rs b/compiler/rustc_const_eval/src/interpret/machine.rs index 33afadd94f5..64aa971d14e 100644 --- a/compiler/rustc_const_eval/src/interpret/machine.rs +++ b/compiler/rustc_const_eval/src/interpret/machine.rs @@ -635,6 +635,7 @@ pub trait Machine<'tcx>: Sized { /// supposedly be optimized out completely. To enable tracing, override this trait method and /// return `span.entered()`. Also see [crate::enter_trace_span]. #[must_use] + #[inline(always)] fn enter_trace_span(_span: tracing::Span) -> impl EnteredTraceSpan { () } |
