about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/errors.rs
diff options
context:
space:
mode:
authorMoulins <arthur.heuillard@orange.fr>2025-03-01 12:40:06 +0100
committerMoulins <arthur.heuillard@orange.fr>2025-03-02 12:50:14 +0100
commitcbe32a76476c5fffa65783c82cf04072ac5886a6 (patch)
treec80e231cff2b8e61aa61bcf631f52de285a3900f /compiler/rustc_ty_utils/src/errors.rs
parent1c3b035542775e9a5decc93167d351b062942d32 (diff)
downloadrust-cbe32a76476c5fffa65783c82cf04072ac5886a6.tar.gz
rust-cbe32a76476c5fffa65783c82cf04072ac5886a6.zip
Remove layouting dead code for non-array SIMD types.
These aren't supported anymore, and are already rejected in type checking.
Diffstat (limited to 'compiler/rustc_ty_utils/src/errors.rs')
-rw-r--r--compiler/rustc_ty_utils/src/errors.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/compiler/rustc_ty_utils/src/errors.rs b/compiler/rustc_ty_utils/src/errors.rs
index 5497d7d0bd2..8877bb45ceb 100644
--- a/compiler/rustc_ty_utils/src/errors.rs
+++ b/compiler/rustc_ty_utils/src/errors.rs
@@ -83,12 +83,6 @@ pub(crate) struct ZeroLengthSimdType<'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> {
     pub ty: Ty<'tcx>,