diff options
| author | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2023-07-20 00:20:00 -0400 |
|---|---|---|
| committer | Jhonny Bill Mena <jhonnybillm@gmail.com> | 2023-07-20 00:20:00 -0400 |
| commit | f746fe1e6c11478491573cc25fad31bbc6633f02 (patch) | |
| tree | a4a18b94cca15bbbfe0fd952bb8d1c0e835c5ed5 /src/errors.rs | |
| parent | 5f56f49946e1d23845ac7e35b60bd8edb533664d (diff) | |
UPDATE - replace expected_simd error with one from codegen_ssa
Here I am assuming we want to treat these parameters (input, first, second, third, return) as translatable
Diffstat (limited to 'src/errors.rs')
| -rw-r--r-- | src/errors.rs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/errors.rs b/src/errors.rs index 0cffdcfaa31..693367192b1 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,7 +1,6 @@ use rustc_errors::{DiagnosticArgValue, IntoDiagnosticArg}; use rustc_macros::Diagnostic; -use rustc_middle::ty::Ty; -use rustc_span::{Span, Symbol}; +use rustc_span::Span; use std::borrow::Cow; struct ExitCode(Option<i32>); @@ -17,16 +16,6 @@ impl IntoDiagnosticArg for ExitCode { } #[derive(Diagnostic)] -#[diag(codegen_gcc_invalid_monomorphization_expected_simd, code = "E0511")] -pub(crate) struct InvalidMonomorphizationExpectedSimd<'a> { - #[primary_span] - pub span: Span, - pub name: Symbol, - pub position: &'a str, - pub found_ty: Ty<'a>, -} - -#[derive(Diagnostic)] #[diag(codegen_gcc_lto_not_supported)] pub(crate) struct LTONotSupported; |
