rust-clippy/clippy_lints/src/utils
bors 06f1902878 Auto merge of #5937 - montrivo:option_if_let_else, r=flip1995
option_if_let_else - distinguish pure from impure else expressions

Addresses partially #5821.

changelog: improve the lint `option_if_let_else`. Suggest `map_or` or `map_or_else` based on the else expression purity.
2020-09-16 19:36:49 +00:00
..
ast_utils.rs Auto merge of #75800 - Aaron1011:feature/full-nt-tokens, r=petrochenkov 2020-09-11 02:35:01 +00:00
attrs.rs Merge commit '09bd400243ed6f7059fedc0c1623aae3792521d6' into clippyup 2020-08-11 17:50:45 +02:00
author.rs Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup 2020-08-28 18:43:25 +02:00
camel_case.rs new lints around #[must_use] fns 2019-10-14 12:09:04 +02:00
comparisons.rs Rustup to rust-lang/rust#67886 2020-01-07 01:46:33 +09:00
conf.rs Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup 2020-09-10 17:47:07 +02:00
constants.rs Remove all copyright license headers 2019-01-08 21:46:39 +01:00
diagnostics.rs Misc doc updates 2020-09-15 10:29:53 +02:00
eager_or_lazy.rs option_if_let_else - distinguish pure from impure else expressions 2020-09-16 01:30:50 +02:00
higher.rs Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup 2020-08-28 18:43:25 +02:00
hir_utils.rs Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup 2020-08-28 18:43:25 +02:00
inspector.rs clippy: support QPath::LangItem 2020-08-17 13:55:05 +01:00
internal_lints.rs Fix usage of backquotes in suggestion 2020-09-15 10:45:57 +02:00
mod.rs Auto merge of #5937 - montrivo:option_if_let_else, r=flip1995 2020-09-16 19:36:49 +00:00
numeric_literal.rs Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup 2020-07-26 21:07:07 +02:00
paths.rs Merge branch 'master' into lint-5734 2020-09-15 21:21:35 +02:00
ptr.rs Use 'tcx for references to AccessLevels wherever possible. 2020-07-03 00:04:48 +03:00
sugg.rs option_if_let_else - distinguish pure from impure else expressions 2020-09-16 01:30:50 +02:00
sym.rs Rustup to https://github.com/rust-lang/rust/pull/67853 2020-01-04 11:30:03 +01:00
usage.rs option_if_let_else - distinguish pure from impure else expressions 2020-09-16 01:30:50 +02:00