From 6b6b8422bafe310b911832119cbcf4d93f46871e Mon Sep 17 00:00:00 2001 From: Folkert Date: Thu, 18 Jul 2024 12:08:23 +0200 Subject: remove cmse validation from rustc_codegen_ssa it was moved to hir_analysis in the previous commit --- compiler/rustc_codegen_ssa/src/errors.rs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'compiler/rustc_codegen_ssa/src/errors.rs') diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs index af7835633cf..e9d31db9254 100644 --- a/compiler/rustc_codegen_ssa/src/errors.rs +++ b/compiler/rustc_codegen_ssa/src/errors.rs @@ -1033,25 +1033,3 @@ pub struct CompilerBuiltinsCannotCall { pub caller: String, pub callee: String, } - -#[derive(Diagnostic)] -#[diag(codegen_ssa_cmse_call_inputs_stack_spill, code = E0798)] -#[note] -pub struct CmseCallInputsStackSpill { - #[primary_span] - #[label(codegen_ssa_call)] - pub call_site_span: Span, - #[label] - pub function_definition_span: Span, -} - -#[derive(Diagnostic)] -#[diag(codegen_ssa_cmse_call_output_stack_spill, code = E0798)] -#[note] -pub struct CmseCallOutputStackSpill { - #[primary_span] - #[label(codegen_ssa_call)] - pub call_site_span: Span, - #[label] - pub function_definition_span: Span, -} -- cgit 1.4.1-3-g733a5