mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-30 17:34:54 +00:00
Fix error printing mistake in tidy
This commit is contained in:
parent
e7c7aa7288
commit
dc2af5f876
@ -199,8 +199,7 @@ pub fn check(
|
||||
if channel != "nightly" && since == Version::CurrentPlaceholder {
|
||||
tidy_error!(
|
||||
bad,
|
||||
"The placeholder use of {kind} feature `{feature_name}` is not allowed on the {} channel",
|
||||
version::VERSION_PLACEHOLDER
|
||||
"The placeholder use of {kind} feature `{feature_name}` is not allowed on the {channel} channel",
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user