]> git.lizzy.rs Git - rust.git/blobdiff - src/bootstrap/bin/main.rs
Rollup merge of #103919 - nnethercote:unescaping-cleanups, r=matklad
[rust.git] / src / bootstrap / bin / main.rs
index 9b4861ccd95f4965525ac5192d04acc5065927df..be69f819c6428f8e88332ab7889656ec7482a88a 100644 (file)
@@ -35,7 +35,7 @@ fn main() {
 
     // NOTE: Since `./configure` generates a `config.toml`, distro maintainers will see the
     // changelog warning, not the `x.py setup` message.
-    let suggest_setup = !config.config.exists() && !matches!(config.cmd, Subcommand::Setup { .. });
+    let suggest_setup = config.config.is_none() && !matches!(config.cmd, Subcommand::Setup { .. });
     if suggest_setup {
         println!("warning: you have not made a `config.toml`");
         println!(