about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-04-07 12:37:32 +0800
committerGitHub <noreply@github.com>2025-04-07 12:37:32 +0800
commit30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60 (patch)
tree2478093c3b93e98d9a90c99a012c6862eedd96f3 /compiler/rustc_codegen_llvm/src/errors.rs
parent1ec36e12e86ec798d2d38efa074705a71e0dee47 (diff)
parent5a28e1e8de868757716d97aa0c0c1d7764122c32 (diff)
downloadrust-30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60.tar.gz
rust-30fb3d9da35ff8336aa327e5075c5a2b7c0d6c60.zip
Merge pull request #2291 from rust-lang/rustc-pull
Rustc pull update
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;