about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-03 20:47:10 +0100
committerGitHub <noreply@github.com>2025-03-03 20:47:10 +0100
commit74e9ca67723dc066bd82328cb770386bf439d6ec (patch)
tree951bcca9989a79b12b9ef5556772a14a884d8b6b /compiler/rustc_ty_utils/src/errors.rs
parent1b4e66e0bf7f74ab9ce8366b76d9f604a4786440 (diff)
parentcbe32a76476c5fffa65783c82cf04072ac5886a6 (diff)
downloadrust-74e9ca67723dc066bd82328cb770386bf439d6ec.tar.gz
rust-74e9ca67723dc066bd82328cb770386bf439d6ec.zip
Rollup merge of #137852 - moulins:layout-nonarray-simd-deadcode, r=workingjubilee
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>,