From bd8477b56248f07d9778e33045dc2b345ea9ab0d Mon Sep 17 00:00:00 2001 From: Rémy Rakic Date: Fri, 25 Oct 2024 20:42:09 +0000 Subject: Revert "Emit error when calling/declaring functions with unavailable vectors." This reverts commit 5af56cac38fa48e4228e5e123d060e85eb1acbf7. --- compiler/rustc_monomorphize/src/errors.rs | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'compiler/rustc_monomorphize/src/errors.rs') diff --git a/compiler/rustc_monomorphize/src/errors.rs b/compiler/rustc_monomorphize/src/errors.rs index 5048a8d5d99..d5fae6e23cb 100644 --- a/compiler/rustc_monomorphize/src/errors.rs +++ b/compiler/rustc_monomorphize/src/errors.rs @@ -92,21 +92,3 @@ pub(crate) struct StartNotFound; pub(crate) struct UnknownCguCollectionMode<'a> { pub mode: &'a str, } - -#[derive(LintDiagnostic)] -#[diag(monomorphize_abi_error_disabled_vector_type_def)] -#[help] -pub(crate) struct AbiErrorDisabledVectorTypeDef<'a> { - #[label] - pub span: Span, - pub required_feature: &'a str, -} - -#[derive(LintDiagnostic)] -#[diag(monomorphize_abi_error_disabled_vector_type_call)] -#[help] -pub(crate) struct AbiErrorDisabledVectorTypeCall<'a> { - #[label] - pub span: Span, - pub required_feature: &'a str, -} -- cgit 1.4.1-3-g733a5