26 lines
574 B
Rust
26 lines
574 B
Rust
use rustc_macros::Diagnostic;
|
|
use rustc_span::Span;
|
|
|
|
#[derive(Diagnostic)]
|
|
#[diag(codegen_gcc_unwinding_inline_asm)]
|
|
pub(crate) struct UnwindingInlineAsm {
|
|
#[primary_span]
|
|
pub span: Span,
|
|
}
|
|
|
|
#[derive(Diagnostic)]
|
|
#[diag(codegen_gcc_copy_bitcode)]
|
|
pub(crate) struct CopyBitcode {
|
|
pub err: std::io::Error,
|
|
}
|
|
|
|
#[derive(Diagnostic)]
|
|
#[diag(codegen_gcc_lto_bitcode_from_rlib)]
|
|
pub(crate) struct LtoBitcodeFromRlib {
|
|
pub gcc_err: String,
|
|
}
|
|
|
|
#[derive(Diagnostic)]
|
|
#[diag(codegen_gcc_explicit_tail_calls_unsupported)]
|
|
pub(crate) struct ExplicitTailCallsUnsupported;
|