From 383cc9e545efd0c02f907a38562f427be0d40332 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 25 Jan 2018 12:55:58 +0530 Subject: [PATCH] Add known false positive for enum_glob_use --- clippy_lints/src/enum_glob_use.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clippy_lints/src/enum_glob_use.rs b/clippy_lints/src/enum_glob_use.rs index 9aa43653ab5..c00cdc07f84 100644 --- a/clippy_lints/src/enum_glob_use.rs +++ b/clippy_lints/src/enum_glob_use.rs @@ -12,7 +12,8 @@ use utils::span_lint; /// an enumeration variant, rather than importing variants. /// /// **Known problems:** Old-style enumerations that prefix the variants are -/// still around. +/// still around. May cause problems with modules that are not snake_case (see +/// [#2397](https://github.com/rust-lang-nursery/rust-clippy/issues/2397)) /// /// **Example:** /// ```rust