|
1 | 1 | mod crosspointer_transmute; |
2 | 2 | mod eager_transmute; |
3 | 3 | mod missing_transmute_annotations; |
4 | | -mod transmute_float_to_int; |
5 | 4 | mod transmute_int_to_bool; |
6 | | -mod transmute_int_to_char; |
7 | | -mod transmute_int_to_float; |
8 | 5 | mod transmute_int_to_non_zero; |
9 | 6 | mod transmute_null_to_fn; |
10 | | -mod transmute_num_to_bytes; |
11 | 7 | mod transmute_ptr_to_ptr; |
12 | 8 | mod transmute_ptr_to_ref; |
13 | 9 | mod transmute_ref_to_ref; |
@@ -632,14 +628,10 @@ impl<'tcx> LateLintPass<'tcx> for Transmute { |
632 | 628 | | transmute_null_to_fn::check(cx, e, arg, to_ty) |
633 | 629 | | transmute_ptr_to_ref::check(cx, e, from_ty, to_ty, arg, path, self.msrv) |
634 | 630 | | 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) |
636 | 631 | | transmute_ref_to_ref::check(cx, e, from_ty, to_ty, arg, const_context) |
637 | 632 | | transmute_ptr_to_ptr::check(cx, e, from_ty, to_ty, arg, self.msrv) |
638 | 633 | | 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) |
640 | 634 | | 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) |
643 | 635 | | (unsound_collection_transmute::check(cx, e, from_ty, to_ty) |
644 | 636 | || transmute_undefined_repr::check(cx, e, from_ty, to_ty)) |
645 | 637 | | (eager_transmute::check(cx, e, arg, from_ty, to_ty)); |
|
0 commit comments