about summary refs log tree commit diff
path: root/clippy_lints/src/declared_lints.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-18 17:58:56 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-01-23 16:12:30 +0100
commit3b8f62f85e4b671307afacdadbe374340ab68bab (patch)
tree1af4102826fecdce822b05d30468f3b99a1b8c5e /clippy_lints/src/declared_lints.rs
parent37947ffc405c573c075e0471692e5b13332b22a6 (diff)
downloadrust-3b8f62f85e4b671307afacdadbe374340ab68bab.tar.gz
rust-3b8f62f85e4b671307afacdadbe374340ab68bab.zip
Add new `unnecessary_result_map_or_else` lint
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
-rw-r--r--clippy_lints/src/declared_lints.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs
index 20230106d53..cab4647e08a 100644
--- a/clippy_lints/src/declared_lints.rs
+++ b/clippy_lints/src/declared_lints.rs
@@ -451,6 +451,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
     crate::methods::UNNECESSARY_JOIN_INFO,
     crate::methods::UNNECESSARY_LAZY_EVALUATIONS_INFO,
     crate::methods::UNNECESSARY_LITERAL_UNWRAP_INFO,
+    crate::methods::UNNECESSARY_RESULT_MAP_OR_ELSE_INFO,
     crate::methods::UNNECESSARY_SORT_BY_INFO,
     crate::methods::UNNECESSARY_TO_OWNED_INFO,
     crate::methods::UNWRAP_OR_DEFAULT_INFO,