diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-01-08 13:40:53 +0100 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-01-08 13:40:53 +0100 |
| commit | 2f3ee5dae58447454bcf2d2c8bb40577e87a3c1b (patch) | |
| tree | 62f9293b25cc5f9af35d2338559afb224b00a719 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | a5e424e07af577c87d46e5eddc1c3a1eb014d343 (diff) | |
| parent | 93a19501c2bad56e73f0ac9f3ae062b614d30832 (diff) | |
| download | rust-2f3ee5dae58447454bcf2d2c8bb40577e87a3c1b.tar.gz rust-2f3ee5dae58447454bcf2d2c8bb40577e87a3c1b.zip | |
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index f340b06e876..f4c9491f758 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -37,6 +37,7 @@ pub(crate) struct UnstableCTargetFeature<'a> { #[note(codegen_llvm_forbidden_ctarget_feature_issue)] pub(crate) struct ForbiddenCTargetFeature<'a> { pub feature: &'a str, + pub enabled: &'a str, pub reason: &'a str, } @@ -214,12 +215,6 @@ pub(crate) struct MismatchedDataLayout<'a> { } #[derive(Diagnostic)] -#[diag(codegen_llvm_invalid_target_feature_prefix)] -pub(crate) struct InvalidTargetFeaturePrefix<'a> { - pub feature: &'a str, -} - -#[derive(Diagnostic)] #[diag(codegen_llvm_fixed_x18_invalid_arch)] pub(crate) struct FixedX18InvalidArch<'a> { pub arch: &'a str, |
