diff --git a/clippy_lints/src/utils/conf.rs b/clippy_lints/src/utils/conf.rs index 63e2db7506c2..35fcc08b518b 100644 --- a/clippy_lints/src/utils/conf.rs +++ b/clippy_lints/src/utils/conf.rs @@ -137,6 +137,7 @@ define_Conf! { "iOS", "macOS", "TeX", "LaTeX", "BibTeX", "BibLaTeX", "MinGW", + "CamelCase", ] => Vec), /// Lint: TOO_MANY_ARGUMENTS. The maximum number of argument a function or method can have (too_many_arguments_threshold, "too_many_arguments_threshold", 7 => u64), diff --git a/tests/ui/doc.rs b/tests/ui/doc.rs index dde1a471e6e9..8935e3f01d5f 100644 --- a/tests/ui/doc.rs +++ b/tests/ui/doc.rs @@ -174,3 +174,6 @@ fn issue_1920() {} /// Not ok: http://www.unicode.org/ /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels fn issue_1832() {} + +/// Ok: CamelCase (It should not be surrounded by backticks) +fn issue_2395() {}