u-fix-self-bootstrap
authorDebian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)
committerXimin Luo <infinity0@debian.org>
Sun, 19 Sep 2021 18:48:33 +0000 (19:48 +0100)
Gbp-Pq: Name u-fix-self-bootstrap.patch

src/bootstrap/builder.rs

index ee6a7a4da2cc8eb4705edee6359336bdc37c2cf0..05dcae797a9ec3191a7ac6b5d7c40dc560176d8d 100644 (file)
@@ -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));