Skip to content

Commit 45a1da0

Browse files
committed
hotfix: remove unnecessary path
1 parent 4d408e0 commit 45a1da0

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

clippy_lints/src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -912,15 +912,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
912912
store.register_late_pass(|_| Box::new(permissions_set_readonly_false::PermissionsSetReadonlyFalse));
913913
store.register_late_pass(|_| Box::new(size_of_ref::SizeOfRef));
914914
store.register_late_pass(|_| Box::new(multiple_unsafe_ops_per_block::MultipleUnsafeOpsPerBlock));
915-
<<<<<<< HEAD
916-
store.register_late_pass(|_| Box::new(extra_unused_type_parameters::ExtraUnusedTypeParameters));
917-
=======
918-
store.register_late_pass(move || Box::new(unnecessary_reserve::UnnecessaryReserve::new(msrv)));
919-
<<<<<<< HEAD
920-
>>>>>>> 64df9753d (add `[unnecessary_reserve]` lint)
921-
=======
922915
store.register_late_pass(move |_| Box::new(unnecessary_reserve::UnnecessaryReserve::new(msrv())));
923-
>>>>>>> f78406776 (refactor: delete unnecessary comparison)
924916
// add lints here, do not remove this comment, it's used in `new_lint`
925917
}
926918

clippy_utils/src/paths.rs

Lines changed: 0 additions & 2 deletions
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)