Linshu Yang
Linshu Yang
Closes rust-lang/rust-clippy#15047 changelog: [`filter_map_bool_then`] fix wrongly showed macro definitions in suggestions
### Summary `filter_map_bool_then` wrongly showed the macro definition instead of its call site in suggestions ### Reproducer I tried this code: ```rust tokenize_with_text(&snippet) .filter_map(|(t, s, inner)| { matches!(t, TokenKind::Ident if...
Closes rust-lang/rust-clippy#16015 changelog: [`match_like_matches_macro`] fix wrongly unmangled macros
Closes rust-lang/rust-clippy#16164 changelog: [`use_self`] fix FP on type in const generics
Closes rust-lang/rust-clippy#15924 changelog: [`if_not_else`] fix wrongly unmangled macros
Closes rust-lang/rust-clippy#15713 Closes rust-lang/rust-clippy#15714 Closes rust-lang/rust-clippy#15752 changelog: [`map_unwrap_or`] add cover for `Result::unwrap_or`
Closes rust-lang/rust-clippy#15781 changelog: [`map_entry`] fix wrong suggestions for insert with cfg-ed out code
Closes rust-lang/rust-clippy#16157 changelog: [`empty_enum_variants_with_brackets`] fix missing to remove brackets in patterns
Closes rust-lang/rust-clippy#15990 changelog: [`set-contains-or-insert`] fix FP when set is mutated before `insert`
Closes rust-lang/rust-clippy#14989 changelog: [`redundant_pattern_matching`] fix missing `)` in suggestion span