Skip to content

Commit 497e170

Browse files
authored
Rollup merge of #101535 - est31:tidy_error_fix, r=Mark-Simulacrum
Fix error printing mistake in tidy Fixes a small bug in the error printing code added by #100591 .
2 parents 09e7bb4 + dc2af5f commit 497e170

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/tools/tidy/src/features.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ pub fn check(
199199
if channel != "nightly" && since == Version::CurrentPlaceholder {
200200
tidy_error!(
201201
bad,
202-
"The placeholder use of {kind} feature `{feature_name}` is not allowed on the {} channel",
203-
version::VERSION_PLACEHOLDER
202+
"The placeholder use of {kind} feature `{feature_name}` is not allowed on the {channel} channel",
204203
);
205204
}
206205
}

0 commit comments

Comments
 (0)