about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-01-08 16:27:41 +0000
committerbors <bors@rust-lang.org>2023-01-08 16:27:41 +0000
commitd29c4c9f638f456a235a5bae632401b6d1bb3614 (patch)
tree404347859fd8caddc5a472fe4e0e433555b2ba07
parentcf1d3d03700069d6a31fc142a1808a7f3dcde429 (diff)
parentd8877bbd8a04e2fb5edd22f092f1ef360ee8075c (diff)
downloadrust-d29c4c9f638f456a235a5bae632401b6d1bb3614.tar.gz
rust-d29c4c9f638f456a235a5bae632401b6d1bb3614.zip
Auto merge of #10174 - chansuke:hotfix/remove-paths, r=dswij
hotfix: remove `ITER_COUNT` since it is not called

`&paths:ITER_COUNT` is not being called from anywhere, so removing it doesn't seem to be a problem.

---

changelog: none
-rw-r--r--clippy_utils/src/paths.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_utils/src/paths.rs b/clippy_utils/src/paths.rs
index 9ca50105ae5..95eebab7567 100644
--- a/clippy_utils/src/paths.rs
+++ b/clippy_utils/src/paths.rs
@@ -47,7 +47,6 @@ pub const IDENT: [&str; 3] = ["rustc_span", "symbol", "Ident"];
 #[cfg(feature = "internal")]
 pub const IDENT_AS_STR: [&str; 4] = ["rustc_span", "symbol", "Ident", "as_str"];
 pub const INSERT_STR: [&str; 4] = ["alloc", "string", "String", "insert_str"];
-pub const ITER_COUNT: [&str; 6] = ["core", "iter", "traits", "iterator", "Iterator", "count"];
 pub const ITER_EMPTY: [&str; 5] = ["core", "iter", "sources", "empty", "Empty"];
 pub const ITERTOOLS_NEXT_TUPLE: [&str; 3] = ["itertools", "Itertools", "next_tuple"];
 #[cfg(feature = "internal")]