Port layout size overflow
This commit is contained in:
parent
f031823ecd
commit
39d363fd58
3 changed files with 14 additions and 2 deletions
|
@ -59,3 +59,11 @@ pub(crate) struct SymbolAlreadyDefined<'a> {
|
|||
#[derive(SessionDiagnostic)]
|
||||
#[diag(codegen_llvm::branch_protection_requires_aarch64)]
|
||||
pub(crate) struct BranchProtectionRequiresAArch64;
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
#[diag(codegen_llvm::layout_size_overflow)]
|
||||
pub(crate) struct LayoutSizeOverflow {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
pub error: String,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue