Skip to content

Commit 057243f

Browse files
committed
relicensing: Remove map_clone
This removes the code added in #427
1 parent fffcd09 commit 057243f

File tree

4 files changed

+0
-351
lines changed

4 files changed

+0
-351
lines changed

clippy_lints/src/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ pub mod let_if_seq;
129129
pub mod lifetimes;
130130
pub mod literal_representation;
131131
pub mod loops;
132-
pub mod map_clone;
133132
pub mod map_unit_fn;
134133
pub mod matches;
135134
pub mod mem_forget;
@@ -346,7 +345,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
346345
reg.register_late_lint_pass(box needless_borrow::NeedlessBorrow);
347346
reg.register_late_lint_pass(box needless_borrowed_ref::NeedlessBorrowedRef);
348347
reg.register_late_lint_pass(box no_effect::Pass);
349-
reg.register_late_lint_pass(box map_clone::Pass);
350348
reg.register_late_lint_pass(box temporary_assignment::Pass);
351349
reg.register_late_lint_pass(box transmute::Transmute);
352350
reg.register_late_lint_pass(
@@ -585,7 +583,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
585583
loops::WHILE_IMMUTABLE_CONDITION,
586584
loops::WHILE_LET_LOOP,
587585
loops::WHILE_LET_ON_ITERATOR,
588-
map_clone::MAP_CLONE,
589586
map_unit_fn::OPTION_MAP_UNIT_FN,
590587
map_unit_fn::RESULT_MAP_UNIT_FN,
591588
matches::MATCH_AS_REF,
@@ -745,7 +742,6 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>, conf: &Conf) {
745742
loops::FOR_KV_MAP,
746743
loops::NEEDLESS_RANGE_LOOP,
747744
loops::WHILE_LET_ON_ITERATOR,
748-
map_clone::MAP_CLONE,
749745
matches::MATCH_BOOL,
750746
matches::MATCH_OVERLAPPING_ARM,
751747
matches::MATCH_REF_PATS,

clippy_lints/src/map_clone.rs

-140
This file was deleted.

tests/ui/map_clone.rs

-105
This file was deleted.

tests/ui/map_clone.stderr

-102
This file was deleted.

0 commit comments

Comments
 (0)