From dc2af5f876812dc90f62466ffdc8591f4a646e56 Mon Sep 17 00:00:00 2001 From: est31 Date: Wed, 7 Sep 2022 15:47:44 +0200 Subject: [PATCH] Fix error printing mistake in tidy --- src/tools/tidy/src/features.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs index de292d3305d..b306a527a7c 100644 --- a/src/tools/tidy/src/features.rs +++ b/src/tools/tidy/src/features.rs @@ -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", ); } }