]> git.lizzy.rs Git - rust.git/commitdiff
Merge pull request #1339 from dereckson/patch-1
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 11 Nov 2016 05:20:13 +0000 (21:20 -0800)
committerGitHub <noreply@github.com>
Fri, 11 Nov 2016 05:20:13 +0000 (21:20 -0800)
Recognize quux as a metasyntactic variable

clippy_lints/src/utils/conf.rs

index 0dccaec8ed8c1b6ce09814dcf03bef4aebe0604a..10046a3ce1647ca7c7ccf490698206953963438e 100644 (file)
@@ -161,7 +161,7 @@ fn set(&mut self, name: String, value: toml::Value) -> Result<(), Error> {
 
 define_Conf! {
     /// 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
     ("cyclomatic-complexity-threshold", cyclomatic_complexity_threshold, 25 => u64),
     /// Lint: DOC_MARKDOWN. The list of words this lint should not consider as identifiers needing ticks