fmt
This commit is contained in:
parent
1f721c651e
commit
5e940f5810
1 changed files with 3 additions and 1 deletions
|
|
@ -1828,7 +1828,9 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
|
|||
|
||||
fn enter_trace_span(span: impl FnOnce() -> tracing::Span) -> impl EnteredTraceSpan {
|
||||
#[cfg(feature = "tracing")]
|
||||
{ span().entered() }
|
||||
{
|
||||
span().entered()
|
||||
}
|
||||
#[cfg(not(feature = "tracing"))]
|
||||
{
|
||||
let _ = span; // so we avoid the "unused variable" warning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue