diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-10-18 22:26:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-18 22:26:33 +0200 |
| commit | 8f5a2484a05448dc7e19f8711a965fa5f232f0c1 (patch) | |
| tree | 469d9c0eb05559950971fd6dd9b22556334dc01e | |
| parent | 4dc6b367d3326cced23e33004ccedc44814d7c46 (diff) | |
| parent | 33847b579eb5479f888a0caae37ebc469dd9ccd2 (diff) | |
| download | rust-8f5a2484a05448dc7e19f8711a965fa5f232f0c1.tar.gz rust-8f5a2484a05448dc7e19f8711a965fa5f232f0c1.zip | |
Merge pull request #3303 from shssoichiro/3069-unnecessary-fold-pattern-guard
Note known false positives in unnecessary_fold lint
| -rw-r--r-- | clippy_lints/src/methods/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index f9c010beea7..11ed1e70e38 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 |
