@@ -619,10 +619,10 @@ impl<'tcx> LateLintPass<'tcx> for Transmute {
619619 | transmute_ref_to_ref:: check ( cx, e, from_ty, to_ty, arg, const_context)
620620 | transmute_ptr_to_ptr:: check ( cx, e, from_ty, to_ty, arg, & self . msrv )
621621 | transmute_int_to_bool:: check ( cx, e, from_ty, to_ty, arg)
622- | transmute_int_to_float:: check ( cx, e, from_ty, to_ty, arg)
622+ | transmute_int_to_float:: check ( cx, e, from_ty, to_ty, arg, const_context )
623623 | transmute_int_to_non_zero:: check ( cx, e, from_ty, to_ty, arg)
624- | transmute_float_to_int:: check ( cx, e, from_ty, to_ty, arg)
625- | transmute_num_to_bytes:: check ( cx, e, from_ty, to_ty, arg)
624+ | transmute_float_to_int:: check ( cx, e, from_ty, to_ty, arg, const_context )
625+ | transmute_num_to_bytes:: check ( cx, e, from_ty, to_ty, arg, const_context )
626626 | ( unsound_collection_transmute:: check ( cx, e, from_ty, to_ty)
627627 || transmute_undefined_repr:: check ( cx, e, from_ty, to_ty) )
628628 | ( eager_transmute:: check ( cx, e, arg, from_ty, to_ty) ) ;
0 commit comments