diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index 9009be247a65..81b3b0441196 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -1166,7 +1166,7 @@ impl Step for Rustfmt { let cargofmt = builder.ensure(tool::Cargofmt { compiler: builder.compiler(stage, build.build), target - }).expect("Rustfmt to build: toolstate is testing"); + }).expect("Cargofmt to build: toolstate is testing"); install(&rustfmt, &image.join("bin"), 0o755); install(&cargofmt, &image.join("bin"), 0o755); let doc = image.join("share/doc/rustfmt");