mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Merge pull request #3303 from shssoichiro/3069-unnecessary-fold-pattern-guard
Note known false positives in unnecessary_fold lint
This commit is contained in:
commit
8f5a2484a0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user