Rollup merge of #114498 - chenyukang:yukang-fix-tidy-tip, r=ozkanonur

Print tidy command with bless tidy check failure

It's more friendly for beginners to fix fluent alphabetical errors.
This commit is contained in:
Matthias Krüger 2023-08-05 14:00:18 +02:00 committed by GitHub
commit 9ad3be3787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ fn check_alphabetic(filename: &str, fluent: &str, bad: &mut bool) {
tidy_error!(
bad,
"{filename}: message `{}` appears before `{}`, but is alphabetically later than it
run tidy with `--bless` to sort the file correctly",
run `./x.py test tidy --bless` to sort the file correctly",
name.as_str(),
next.as_str()
);