Port LinkageConstOrMutType error
This commit is contained in:
parent
5d79d3c4bb
commit
60ee496c74
3 changed files with 14 additions and 9 deletions
|
@ -71,5 +71,12 @@ pub(crate) struct LayoutSizeOverflow {
|
|||
#[derive(SessionDiagnostic)]
|
||||
#[diag(codegen_llvm::invalid_minimum_alignment)]
|
||||
pub(crate) struct InvalidMinimumAlignment {
|
||||
pub err: String
|
||||
pub err: String,
|
||||
}
|
||||
|
||||
#[derive(SessionDiagnostic)]
|
||||
#[diag(codegen_llvm::linkage_const_or_mut_type)]
|
||||
pub(crate) struct LinkageConstOrMutType {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue