diff options
| author | Ralf Jung <post@ralfj.de> | 2024-03-15 08:09:31 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-03-15 08:09:31 +0100 |
| commit | 0d811d7f3aceb2c23536851c7f5ed8abdc077a67 (patch) | |
| tree | 8019eff9ff3c848b3217f27c2ca11451db7bda80 /compiler/rustc_interface/src/errors.rs | |
| parent | 3cc4059a6e8a6aebcd020b0d3a0e2eb33d926c2c (diff) | |
| parent | ee03c286cfdca26fa5b2a4ee40957625d2c826ff (diff) | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
| -rw-r--r-- | compiler/rustc_interface/src/errors.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/rustc_interface/src/errors.rs b/compiler/rustc_interface/src/errors.rs index a9ab2720d89..29294003b8f 100644 --- a/compiler/rustc_interface/src/errors.rs +++ b/compiler/rustc_interface/src/errors.rs @@ -1,7 +1,5 @@ use rustc_macros::Diagnostic; -use rustc_session::config::CrateType; use rustc_span::{Span, Symbol}; -use rustc_target::spec::TargetTriple; use std::io; use std::path::Path; @@ -91,13 +89,6 @@ pub struct FailedWritingFile<'a> { pub struct ProcMacroCratePanicAbort; #[derive(Diagnostic)] -#[diag(interface_unsupported_crate_type_for_target)] -pub struct UnsupportedCrateTypeForTarget<'a> { - pub crate_type: CrateType, - pub target_triple: &'a TargetTriple, -} - -#[derive(Diagnostic)] #[diag(interface_multiple_output_types_adaption)] pub struct MultipleOutputTypesAdaption; |
