Skip to content

Commit 8f5a248

Browse files
authored
Merge pull request #3303 from shssoichiro/3069-unnecessary-fold-pattern-guard
Note known false positives in unnecessary_fold lint
2 parents 4dc6b36 + 33847b5 commit 8f5a248

File tree

1 file changed

+2
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+2
-1
lines changed

clippy_lints/src/methods/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,8 @@ declare_clippy_lint! {
688688
///
689689
/// **Why is this bad?** Readability.
690690
///
691-
/// **Known problems:** None.
691+
/// **Known problems:** False positive in pattern guards. Will be resolved once
692+
/// non-lexical lifetimes are stable.
692693
///
693694
/// **Example:**
694695
/// ```rust

0 commit comments

Comments
 (0)