aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen.rs
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen.rs')
-rw-r--r--xtask/src/codegen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen.rs b/xtask/src/codegen.rs
index 2cf3c6fdc..518e17e38 100644
--- a/xtask/src/codegen.rs
+++ b/xtask/src/codegen.rs
@@ -62,7 +62,7 @@ pub(crate) fn ensure_file_contents(file: &Path, contents: &str) -> Result<()> {
62 let _ = std::fs::create_dir_all(parent); 62 let _ = std::fs::create_dir_all(parent);
63 } 63 }
64 std::fs::write(file, contents).unwrap(); 64 std::fs::write(file, contents).unwrap();
65 anyhow::bail!("some file were not up to date") 65 anyhow::bail!("some file was not up to date and has been updated, simply re-run the tests")
66} 66}
67 67
68fn normalize_newlines(s: &str) -> String { 68fn normalize_newlines(s: &str) -> String {