Files
rust/compiler/rustc_codegen_gcc/src/errors.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
574 B
Rust
Raw Normal View History

use rustc_macros::Diagnostic;
use rustc_span::Span;
2022-09-24 11:05:37 -07:00
#[derive(Diagnostic)]
2022-10-22 11:07:54 +02:00
#[diag(codegen_gcc_unwinding_inline_asm)]
2022-08-26 20:44:44 -07:00
pub(crate) struct UnwindingInlineAsm {
#[primary_span]
pub span: Span,
2022-08-26 20:44:44 -07:00
}
#[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;