Recognize quux as a metasyntactic variable
quux is another metasyntactic variable like foo and so should be detected by the blacklisted names linter.
This commit is contained in:
committed by
GitHub
parent
3edf712434
commit
0e6807e86b
@@ -161,7 +161,7 @@ macro_rules! define_Conf {
|
|||||||
|
|
||||||
define_Conf! {
|
define_Conf! {
|
||||||
/// Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about
|
/// Lint: BLACKLISTED_NAME. The list of blacklisted names to lint about
|
||||||
("blacklisted-names", blacklisted_names, ["foo", "bar", "baz"] => Vec<String>),
|
("blacklisted-names", blacklisted_names, ["foo", "bar", "baz", "quux"] => Vec<String>),
|
||||||
/// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have
|
/// Lint: CYCLOMATIC_COMPLEXITY. The maximum cyclomatic complexity a function can have
|
||||||
("cyclomatic-complexity-threshold", cyclomatic_complexity_threshold, 25 => u64),
|
("cyclomatic-complexity-threshold", cyclomatic_complexity_threshold, 25 => u64),
|
||||||
/// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks
|
/// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks
|
||||||
|
|||||||
Reference in New Issue
Block a user