Skip to content

Commit 383705e

Browse files
committed
Remove InvalidMonomorphization::FloatingPointType
1 parent 071a36d commit 383705e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/intrinsic/simd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ pub fn generic_simd_intrinsic<'a, 'gcc, 'tcx>(
811811
}};
812812
}
813813
let ty::Float(ref f) = *in_elem.kind() else {
814-
return_error!(InvalidMonomorphization::FloatingPointType { span, name, in_ty });
814+
return_error!(InvalidMonomorphization::BasicFloatType { span, name, ty: in_ty });
815815
};
816816
let elem_ty = bx.cx.type_float_from_ty(*f);
817817
let (elem_ty_str, elem_ty, cast_type) = match f.bit_width() {

0 commit comments

Comments
 (0)