about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/errors.rs
diff options
context:
space:
mode:
authorFolkert <folkert@folkertdev.nl>2024-07-18 12:08:23 +0200
committerFolkert <folkert@folkertdev.nl>2024-07-18 12:42:43 +0200
commit6b6b8422bafe310b911832119cbcf4d93f46871e (patch)
tree4c31edf258c70a89f9d35bdda687509fc0420a54 /compiler/rustc_codegen_ssa/src/errors.rs
parent7b6373496107807327094ec990d317b98e34fd63 (diff)
downloadrust-6b6b8422bafe310b911832119cbcf4d93f46871e.tar.gz
rust-6b6b8422bafe310b911832119cbcf4d93f46871e.zip
remove cmse validation from rustc_codegen_ssa
it was moved to hir_analysis in the previous commit
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/errors.rs22
1 files changed, 0 insertions, 22 deletions
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,
-}