From ce63f3ae4d570f0b29dd965389ac2a857426914b Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Thu, 16 May 2019 09:43:07 -0700 Subject: [PATCH] Add known problems --- clippy_lints/src/eta_reduction.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clippy_lints/src/eta_reduction.rs b/clippy_lints/src/eta_reduction.rs index b955b0f2aa5e..4a93101d7cb9 100644 --- a/clippy_lints/src/eta_reduction.rs +++ b/clippy_lints/src/eta_reduction.rs @@ -38,6 +38,10 @@ declare_clippy_lint! { /// /// **Why is this bad?** It's unnecessary to create the closure. /// + /// **Known problems:** rust-lang/rust-clippy#3071, rust-lang/rust-clippy#4002, + /// rust-lang/rust-clippy#3942 + /// + /// /// **Example:** /// ```rust,ignore /// Some('a').map(|s| s.to_uppercase());