Remove layouting dead code for non-array SIMD types.

These aren't supported anymore, and are already rejected in type checking.
This commit is contained in:
Moulins 2025-03-01 12:40:06 +01:00
parent 1c3b035542
commit cbe32a7647
4 changed files with 30 additions and 114 deletions

View file

@ -82,12 +82,6 @@ pub(crate) struct ZeroLengthSimdType<'tcx> {
pub ty: Ty<'tcx>,
}
#[derive(Diagnostic)]
#[diag(ty_utils_multiple_array_fields_simd_type)]
pub(crate) struct MultipleArrayFieldsSimdType<'tcx> {
pub ty: Ty<'tcx>,
}
#[derive(Diagnostic)]
#[diag(ty_utils_oversized_simd_type)]
pub(crate) struct OversizedSimdType<'tcx> {