about summary refs log tree commit diff
path: root/clippy_lints/src/declared_lints.rs
diff options
context:
space:
mode:
authory21 <30553356+y21@users.noreply.github.com>2023-10-02 15:22:42 +0200
committery21 <30553356+y21@users.noreply.github.com>2023-12-01 16:52:34 +0100
commit504941591f77d818bac0c859043eb264ebc096fe (patch)
tree98caa5f98d68a3ca7c0614a6bc14502113710aae /clippy_lints/src/declared_lints.rs
parentd166fab544c02215718e98c586030cd65ddb965e (diff)
downloadrust-504941591f77d818bac0c859043eb264ebc096fe.tar.gz
rust-504941591f77d818bac0c859043eb264ebc096fe.zip
new lint: `repeat_vec_with_capacity`
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 b440e267efe..29c96a7d6da 100644
--- a/clippy_lints/src/declared_lints.rs
+++ b/clippy_lints/src/declared_lints.rs
@@ -598,6 +598,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
     crate::reference::DEREF_ADDROF_INFO,
     crate::regex::INVALID_REGEX_INFO,
     crate::regex::TRIVIAL_REGEX_INFO,
+    crate::repeat_vec_with_capacity::REPEAT_VEC_WITH_CAPACITY_INFO,
     crate::reserve_after_initialization::RESERVE_AFTER_INITIALIZATION_INFO,
     crate::return_self_not_must_use::RETURN_SELF_NOT_MUST_USE_INFO,
     crate::returns::LET_AND_RETURN_INFO,