Skip to content

Commit 9aebb1e

Browse files
DebugStevenjyn514
andauthored
improve error message
Co-authored-by: Joshua Nelson <[email protected]>
1 parent e62258e commit 9aebb1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/tidy/src/x_version.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub fn check(bad: &mut bool) {
4343
if version < expected {
4444
return tidy_error!(
4545
bad,
46-
"Current version of x is {version} Consider updating to the newer version of x by running `cargo install --path src/tools/x`"
46+
"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`"
4747
);
4848
}
4949
} else {

0 commit comments

Comments
 (0)