about summary refs log tree commit diff
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-09-07 15:47:44 +0200
committerest31 <MTest31@outlook.com>2022-09-07 15:48:11 +0200
commitdc2af5f876812dc90f62466ffdc8591f4a646e56 (patch)
treea01c309158070e623d5e54dc686eb89b646db6a4
parente7c7aa7288559f8e5ea7ce3543ff946b09783628 (diff)
downloadrust-dc2af5f876812dc90f62466ffdc8591f4a646e56.tar.gz
rust-dc2af5f876812dc90f62466ffdc8591f4a646e56.zip
Fix error printing mistake in tidy
-rw-r--r--src/tools/tidy/src/features.rs3
1 files changed, 1 insertions, 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",
             );
         }
     }