about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@users.noreply.github.com>2025-04-28 08:31:31 +0000
committerGitHub <noreply@github.com>2025-04-28 08:31:31 +0000
commit5008c6a6c058911c26947f466840467e8c37a586 (patch)
tree0bd3646d498038aacdf282dce1da0912888b6f82 /compiler/rustc_codegen_llvm/src/errors.rs
parent4ed9b12dd34deb514642fe4163f9976e3b5e46ad (diff)
parentf89fcbeda2a349a7c223a712f8a1f5f7764cf22a (diff)
downloadrust-5008c6a6c058911c26947f466840467e8c37a586.tar.gz
rust-5008c6a6c058911c26947f466840467e8c37a586.zip
Merge pull request #19702 from lnicola/sync-from-rust
internal: Sync from downstream
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/errors.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs
index 4c5a78ca74f..ecf108f988f 100644
--- a/compiler/rustc_codegen_llvm/src/errors.rs
+++ b/compiler/rustc_codegen_llvm/src/errors.rs
@@ -217,3 +217,7 @@ pub(crate) struct MismatchedDataLayout<'a> {
 pub(crate) struct FixedX18InvalidArch<'a> {
     pub arch: &'a str,
 }
+
+#[derive(Diagnostic)]
+#[diag(codegen_llvm_sanitizer_kcfi_arity_requires_llvm_21_0_0)]
+pub(crate) struct SanitizerKcfiArityRequiresLLVM2100;