about summary refs log tree commit diff
diff options
context:
space:
mode:
authorteapot4195 <huangalex409@gmail.com>2023-01-29 13:35:37 -0500
committerteapot4195 <huangalex409@gmail.com>2023-01-29 13:35:37 -0500
commit770d30377a18af3a90aba7b52a39cadc12f05af5 (patch)
treefdaa297885ae70354e027e4afd8915272469d453
parent2a4b00beaa208388c2f140866674605aceab0fe9 (diff)
downloadrust-770d30377a18af3a90aba7b52a39cadc12f05af5.tar.gz
rust-770d30377a18af3a90aba7b52a39cadc12f05af5.zip
When stamp doesn't exist, should say Error, and print path to stamp file
-rw-r--r--src/bootstrap/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 522b3b7e851..3b9dba4109d 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -1433,7 +1433,8 @@ impl Build {
 
         if !stamp.exists() {
             eprintln!(
-                "Warning: Unable to find the stamp file, did you try to keep a nonexistent build stage?"
+                "Error: Unable to find the stamp file {}, did you try to keep a nonexistent build stage?",
+                stamp.display()
             );
             crate::detail_exit(1);
         }