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:
commit
9ad3be3787
@ -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()
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user