UPDATE - migrate constant.rs to new diagnostics infrastructure

This commit is contained in:
Jhonny Bill Mena 2022-11-06 10:09:24 -05:00
parent 78796ba637
commit d41112a8c5
3 changed files with 21 additions and 2 deletions

View file

@ -575,3 +575,17 @@ pub struct MetadataObjectFileWrite {
pub struct InvalidWindowsSubsystem {
pub subsystem: Symbol,
}
#[derive(Diagnostic)]
#[diag(codegen_ssa_erroneous_constant)]
pub struct ErroneousConstant {
#[primary_span]
pub span: Span,
}
#[derive(Diagnostic)]
#[diag(codegen_ssa_shuffle_indices_evaluation)]
pub struct ShuffleIndicesEvaluation {
#[primary_span]
pub span: Span,
}