X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fbootstrap%2Flib.rs;h=2960dd3df6bf48b81a98cbd0ee8c80e42a6176f2;hb=de1d7dbd0fad3da8c783fcbef742df3e60409bb7;hp=24da44b933abc9c8a6b92185a9011b797e42d1c3;hpb=9482caf29fbe6b38f96689043b11329b80ca24bd;p=rust.git diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index 24da44b933a..2960dd3df6b 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -478,8 +478,8 @@ pub fn build(&mut self) { job::setup(self); } - if let Subcommand::Format { check } = self.config.cmd { - return format::format(self, check); + if let Subcommand::Format { check, paths } = &self.config.cmd { + return format::format(self, *check, &paths); } if let Subcommand::Clean { all } = self.config.cmd {