improve error reporting

This commit is contained in:
Folkert 2024-07-18 14:32:10 +02:00
parent 6b6b8422ba
commit c2894a4297
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
8 changed files with 65 additions and 46 deletions

View file

@ -1690,11 +1690,13 @@ pub struct CmseCallInputsStackSpill {
#[primary_span]
#[label]
pub span: Span,
pub plural: bool,
}
#[derive(Diagnostic)]
#[diag(hir_analysis_cmse_call_output_stack_spill, code = E0798)]
#[note]
#[note(hir_analysis_note1)]
#[note(hir_analysis_note2)]
pub struct CmseCallOutputStackSpill {
#[primary_span]
#[label]