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 | 7a888fb56e23abded6eb5ec0803f182caacc89cb (patch) | |
| tree | 3f746bc2da83a91668e99224b26994c635c6be70 /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | 051615e1986f7a345ee4f073719ab668bb977987 (diff) | |
| download | rust-7a888fb56e23abded6eb5ec0803f182caacc89cb.tar.gz rust-7a888fb56e23abded6eb5ec0803f182caacc89cb.zip | |
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 'compiler/rustc_codegen_gcc/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/errors.rs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/compiler/rustc_codegen_gcc/src/errors.rs b/compiler/rustc_codegen_gcc/src/errors.rs index 0cffdcfaa31..693367192b1 100644 --- a/compiler/rustc_codegen_gcc/src/errors.rs +++ b/compiler/rustc_codegen_gcc/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; |
