Skip to content

Commit 3f17aa4

Browse files
committed
hotfix: remove unnecessary path
1 parent ceb4d46 commit 3f17aa4

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

clippy_lints/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,6 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
911911
store.register_late_pass(|_| Box::new(permissions_set_readonly_false::PermissionsSetReadonlyFalse));
912912
store.register_late_pass(|_| Box::new(size_of_ref::SizeOfRef));
913913
store.register_late_pass(|_| Box::new(multiple_unsafe_ops_per_block::MultipleUnsafeOpsPerBlock));
914-
store.register_late_pass(move || Box::new(unnecessary_reserve::UnnecessaryReserve::new(msrv)));
915914
store.register_late_pass(move |_| Box::new(unnecessary_reserve::UnnecessaryReserve::new(msrv())));
916915
// add lints here, do not remove this comment, it's used in `new_lint`
917916
}

clippy_utils/src/paths.rs

-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ pub const IDENT_AS_STR: [&str; 4] = ["rustc_span", "symbol", "Ident", "as_str"];
4949
pub const INSERT_STR: [&str; 4] = ["alloc", "string", "String", "insert_str"];
5050
pub const ITER_EMPTY: [&str; 5] = ["core", "iter", "sources", "empty", "Empty"];
5151
pub const ITER_EXTEND: [&str; 6] = ["core", "iter", "traits", "collect", "Extend", "extend"];
52-
pub const ITER_REPEAT: [&str; 5] = ["core", "iter", "sources", "repeat", "repeat"];
53-
#[expect(clippy::invalid_paths)] // internal lints do not know about all external crates
5452
pub const ITERTOOLS_NEXT_TUPLE: [&str; 3] = ["itertools", "Itertools", "next_tuple"];
5553
#[cfg(feature = "internal")]
5654
pub const KW_MODULE: [&str; 3] = ["rustc_span", "symbol", "kw"];

0 commit comments

Comments
 (0)