diff options
| author | y21 <30553356+y21@users.noreply.github.com> | 2023-12-30 03:15:38 +0100 |
|---|---|---|
| committer | y21 <30553356+y21@users.noreply.github.com> | 2024-01-03 19:40:47 +0100 |
| commit | 5960107415caf34a84fc8bb2f2fd303b7e358041 (patch) | |
| tree | f84b15dbc2271c8f2fe7ec56d2ac6c110644c070 /clippy_lints/src/declared_lints.rs | |
| parent | 0153ca95ae588f0423f919e199370b6ff02b02c1 (diff) | |
| download | rust-5960107415caf34a84fc8bb2f2fd303b7e358041.tar.gz rust-5960107415caf34a84fc8bb2f2fd303b7e358041.zip | |
new lint: `option_as_ref_cloned`
Diffstat (limited to 'clippy_lints/src/declared_lints.rs')
| -rw-r--r-- | clippy_lints/src/declared_lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/declared_lints.rs b/clippy_lints/src/declared_lints.rs index f6c9ffea9fc..20230106d53 100644 --- a/clippy_lints/src/declared_lints.rs +++ b/clippy_lints/src/declared_lints.rs @@ -410,6 +410,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[ crate::methods::NO_EFFECT_REPLACE_INFO, crate::methods::OBFUSCATED_IF_ELSE_INFO, crate::methods::OK_EXPECT_INFO, + crate::methods::OPTION_AS_REF_CLONED_INFO, crate::methods::OPTION_AS_REF_DEREF_INFO, crate::methods::OPTION_FILTER_MAP_INFO, crate::methods::OPTION_MAP_OR_ERR_OK_INFO, |
