diff options
| author | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-10-25 20:42:09 +0000 | 
|---|---|---|
| committer | Rémy Rakic <remy.rakic+github@gmail.com> | 2024-10-25 20:42:09 +0000 | 
| commit | bd8477b56248f07d9778e33045dc2b345ea9ab0d (patch) | |
| tree | 9ece03a7b06fd882fecf3e4305554f26218a1a3a /compiler/rustc_monomorphize/src/errors.rs | |
| parent | 6faf0bd3e561f1a0c81f3eafe0ce0e688385d70e (diff) | |
| download | rust-bd8477b56248f07d9778e33045dc2b345ea9ab0d.tar.gz rust-bd8477b56248f07d9778e33045dc2b345ea9ab0d.zip | |
Revert "Emit error when calling/declaring functions with unavailable vectors."
This reverts commit 5af56cac38fa48e4228e5e123d060e85eb1acbf7.
Diffstat (limited to 'compiler/rustc_monomorphize/src/errors.rs')
| -rw-r--r-- | compiler/rustc_monomorphize/src/errors.rs | 18 | 
1 files changed, 0 insertions, 18 deletions
| 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, -} | 
