Skip to content

Commit

Permalink
Fix error printing mistake in tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Sep 7, 2022
1 parent e7c7aa7 commit dc2af5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tools/tidy/src/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
);
}
}
Expand Down

0 comments on commit dc2af5f

Please sign in to comment.