diff options
| author | bors <bors@rust-lang.org> | 2023-11-15 06:49:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-15 06:49:27 +0000 |
| commit | 31e62a923d0e98d256a17112cd8668956033c2b5 (patch) | |
| tree | 78ac0a5038cf364e203c7e5719b4b07ff3cb34c5 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 177d8f2ee5f7c80347022ba3ba5b897630559572 (diff) | |
| parent | 34e83402b811b1c4994a68b3f72e60bff04bb076 (diff) | |
| download | rust-31e62a923d0e98d256a17112cd8668956033c2b5.tar.gz rust-31e62a923d0e98d256a17112cd8668956033c2b5.zip | |
Auto merge of #3165 - rust-lang:rustup-2023-11-15, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index 665d195790c..10ca5ad802a 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -26,6 +26,13 @@ pub(crate) struct UnknownCTargetFeature<'a> { pub rust_feature: PossibleFeature<'a>, } +#[derive(Diagnostic)] +#[diag(codegen_llvm_unstable_ctarget_feature)] +#[note] +pub(crate) struct UnstableCTargetFeature<'a> { + pub feature: &'a str, +} + #[derive(Subdiagnostic)] pub(crate) enum PossibleFeature<'a> { #[help(codegen_llvm_possible_feature)] |
