about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2021-02-08 05:06:49 +0000
committerLzu Tao <taolzu@gmail.com>2021-02-08 05:18:47 +0000
commit446798f84ba0f0f9fe4c79a65256f5920ef2f4ac (patch)
treee7bcb7b2c7e717d10a09ed44b6ca17baf95b2a84
parentbb587b1a1737738658d2eaecd4c8c1cab555257a (diff)
downloadrust-446798f84ba0f0f9fe4c79a65256f5920ef2f4ac.tar.gz
rust-446798f84ba0f0f9fe4c79a65256f5920ef2f4ac.zip
fix bootstrap
-rw-r--r--src/bootstrap/builder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs
index f1a160250db..0f5fcb4af40 100644
--- a/src/bootstrap/builder.rs
+++ b/src/bootstrap/builder.rs
@@ -1490,7 +1490,7 @@ impl<'a> Builder<'a> {
                 for el in stack.iter().rev() {
                     out += &format!("\t{:?}\n", el);
                 }
-                panic!(out);
+                panic!("{}", out);
             }
             if let Some(out) = self.cache.get(&step) {
                 self.verbose(&format!("{}c {:?}", "  ".repeat(stack.len()), step));