Rollup merge of #64688 - rust-lang:clarify-tidy-since, r=alexreg

Clarify the "since" tidy check

r? @pietroalbini

cc @alexreg
This commit is contained in:
Mazdak Farrokhzad 2019-09-23 00:36:41 +02:00 committed by GitHub
commit 55df97c394
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -307,7 +307,7 @@ fn collect_lang_features_in(base: &Path, file: &str, bad: &mut bool) -> Features
if prev_since > since {
tidy_error!(
bad,
"{}:{}: feature {} is not sorted by since",
"{}:{}: feature {} is not sorted by \"since\" (version number)",
path.display(),
line_number,
name,