summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_log/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_log/src/lib.rs')
-rw-r--r--compiler/rustc_log/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_log/src/lib.rs b/compiler/rustc_log/src/lib.rs
index 3cbb2c21e..e7b80c641 100644
--- a/compiler/rustc_log/src/lib.rs
+++ b/compiler/rustc_log/src/lib.rs
@@ -123,7 +123,7 @@ where
return Ok(());
}
let backtrace = std::backtrace::Backtrace::capture();
- writeln!(writer, "stack backtrace: \n{:?}", backtrace)
+ writeln!(writer, "stack backtrace: \n{backtrace:?}")
}
}