diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-07 21:48:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-07 21:48:22 +0200 |
| commit | 497e1705038530c322f26573c8d47901d14cd810 (patch) | |
| tree | d8090406d32b58bbd752a5879e7520d0c3d0eedf | |
| parent | 09e7bb427e2830791ae08dbc9f69a525620f1929 (diff) | |
| parent | dc2af5f876812dc90f62466ffdc8591f4a646e56 (diff) | |
| download | rust-497e1705038530c322f26573c8d47901d14cd810.tar.gz rust-497e1705038530c322f26573c8d47901d14cd810.zip | |
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 .
| -rw-r--r-- | src/tools/tidy/src/features.rs | 3 |
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", ); } } |
