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-16 18:39:30 +0200
committerFolkert <folkert@folkertdev.nl>2024-07-16 18:45:03 +0200
commitc7ff46c971ea7c17b67b2b619fd094c4df981863 (patch)
treeefa6b5f1b0e6f487148b6a609ef07047be80d5e0 /compiler/rustc_codegen_ssa/src/errors.rs
parent36d23713fb524589be409392472d78b4b3e20da6 (diff)
downloadrust-c7ff46c971ea7c17b67b2b619fd094c4df981863.tar.gz
rust-c7ff46c971ea7c17b67b2b619fd094c4df981863.zip
move cmse ABI validation into its own module
Co-authored-by: Tamme Dittrich <tamme@tweedegolf.com>
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/errors.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_ssa/src/errors.rs b/compiler/rustc_codegen_ssa/src/errors.rs
index 13a2dce3e69..af7835633cf 100644
--- a/compiler/rustc_codegen_ssa/src/errors.rs
+++ b/compiler/rustc_codegen_ssa/src/errors.rs
@@ -1040,9 +1040,9 @@ pub struct CompilerBuiltinsCannotCall {
 pub struct CmseCallInputsStackSpill {
     #[primary_span]
     #[label(codegen_ssa_call)]
-    pub span: Span,
+    pub call_site_span: Span,
     #[label]
-    pub func_span: Span,
+    pub function_definition_span: Span,
 }
 
 #[derive(Diagnostic)]
@@ -1051,7 +1051,7 @@ pub struct CmseCallInputsStackSpill {
 pub struct CmseCallOutputStackSpill {
     #[primary_span]
     #[label(codegen_ssa_call)]
-    pub span: Span,
+    pub call_site_span: Span,
     #[label]
-    pub func_span: Span,
+    pub function_definition_span: Span,
 }