Skip to content

Commit 0e6807e

Browse files
authored
Recognize quux as a metasyntactic variable
quux is another metasyntactic variable like foo and so should be detected by the blacklisted names linter.
1 parent 3edf712 commit 0e6807e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/conf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ macro_rules! define_Conf {
161161

162162
define_Conf! {
163163
/// Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about
164-
("blacklisted-names", blacklisted_names, ["foo", "bar", "baz"] => Vec<String>),
164+
("blacklisted-names", blacklisted_names, ["foo", "bar", "baz", "quux"] => Vec<String>),
165165
/// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have
166166
("cyclomatic-complexity-threshold", cyclomatic_complexity_threshold, 25 => u64),
167167
/// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks

0 commit comments

Comments
 (0)