Skip to content

Commit aa7385a

Browse files
committed
remove superseded lints
1 parent 542762e commit aa7385a

17 files changed

+4
-969
lines changed

clippy_lints/src/transmute/mod.rs

-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
mod crosspointer_transmute;
22
mod eager_transmute;
33
mod missing_transmute_annotations;
4-
mod transmute_float_to_int;
5-
mod transmute_int_to_bool;
6-
mod transmute_int_to_char;
7-
mod transmute_int_to_float;
84
mod transmute_int_to_non_zero;
95
mod transmute_null_to_fn;
10-
mod transmute_num_to_bytes;
116
mod transmute_ptr_to_ptr;
127
mod transmute_ptr_to_ref;
138
mod transmute_ref_to_ref;
@@ -632,14 +627,9 @@ impl<'tcx> LateLintPass<'tcx> for Transmute {
632627
| transmute_null_to_fn::check(cx, e, arg, to_ty)
633628
| transmute_ptr_to_ref::check(cx, e, from_ty, to_ty, arg, path, self.msrv)
634629
| missing_transmute_annotations::check(cx, path, from_ty, to_ty, e.hir_id)
635-
| transmute_int_to_char::check(cx, e, from_ty, to_ty, arg, const_context)
636630
| transmute_ref_to_ref::check(cx, e, from_ty, to_ty, arg, const_context)
637631
| transmute_ptr_to_ptr::check(cx, e, from_ty, to_ty, arg, self.msrv)
638-
| transmute_int_to_bool::check(cx, e, from_ty, to_ty, arg)
639-
| transmute_int_to_float::check(cx, e, from_ty, to_ty, arg, const_context, self.msrv)
640632
| transmute_int_to_non_zero::check(cx, e, from_ty, to_ty, arg)
641-
| transmute_float_to_int::check(cx, e, from_ty, to_ty, arg, const_context, self.msrv)
642-
| transmute_num_to_bytes::check(cx, e, from_ty, to_ty, arg, const_context, self.msrv)
643633
| (unsound_collection_transmute::check(cx, e, from_ty, to_ty)
644634
|| transmute_undefined_repr::check(cx, e, from_ty, to_ty))
645635
| (eager_transmute::check(cx, e, arg, from_ty, to_ty));

clippy_lints/src/transmute/transmute_float_to_int.rs

-66
This file was deleted.

clippy_lints/src/transmute/transmute_int_to_bool.rs

-42
This file was deleted.

clippy_lints/src/transmute/transmute_int_to_char.rs

-47
This file was deleted.

clippy_lints/src/transmute/transmute_int_to_float.rs

-50
This file was deleted.

clippy_lints/src/transmute/transmute_num_to_bytes.rs

-50
This file was deleted.

0 commit comments

Comments
 (0)