From 33847b579eb5479f888a0caae37ebc469dd9ccd2 Mon Sep 17 00:00:00 2001 From: Joshua Holmer Date: Tue, 16 Oct 2018 09:04:02 -0400 Subject: [PATCH] Update known problems for unnecessary_fold --- clippy_lints/src/methods/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index 7c15eb677cc6..6fc563a42ead 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -688,7 +688,8 @@ declare_clippy_lint! { /// /// **Why is this bad?** Readability. /// -/// **Known problems:** None. +/// **Known problems:** False positive in pattern guards. Will be resolved once +/// non-lexical lifetimes are stable. /// /// **Example:** /// ```rust