diff options
| author | J Haigh <debugsteven@gmail.com> | 2023-01-01 14:36:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-01 14:36:51 -0700 |
| commit | 9aebb1e09950591413103545d5bc1a40ec46bd9e (patch) | |
| tree | a309d52abc3338ac01064bf03a8a8488280b6155 | |
| parent | e62258ebf45840721ff1aed0e3edb378205af0d3 (diff) | |
| download | rust-9aebb1e09950591413103545d5bc1a40ec46bd9e.tar.gz rust-9aebb1e09950591413103545d5bc1a40ec46bd9e.zip | |
improve error message
Co-authored-by: Joshua Nelson <github@jyn.dev>
| -rw-r--r-- | src/tools/tidy/src/x_version.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tidy/src/x_version.rs b/src/tools/tidy/src/x_version.rs index cf91749b9a4..868b3d925d3 100644 --- a/src/tools/tidy/src/x_version.rs +++ b/src/tools/tidy/src/x_version.rs @@ -43,7 +43,7 @@ pub fn check(bad: &mut bool) { if version < expected { return tidy_error!( bad, - "Current version of x is {version} Consider updating to the newer version of x by running `cargo install --path src/tools/x`" + "Current version of x is {version}, but the latest version is {expected}\nConsider updating to the newer version of x by running `cargo install --path src/tools/x`" ); } } else { |
