diff options
| author | The Miri Conjob Bot <miri@cron.bot> | 2023-11-15 05:12:10 +0000 |
|---|---|---|
| committer | The Miri Conjob Bot <miri@cron.bot> | 2023-11-15 05:12:10 +0000 |
| commit | 34e83402b811b1c4994a68b3f72e60bff04bb076 (patch) | |
| tree | 78ac0a5038cf364e203c7e5719b4b07ff3cb34c5 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 39e142ffd53c81cabfb170c15d9c35b980f7ffd0 (diff) | |
| parent | cc8681b64b6f085bb64c0bbbe6739789d3b1eecf (diff) | |
| download | rust-34e83402b811b1c4994a68b3f72e60bff04bb076.tar.gz rust-34e83402b811b1c4994a68b3f72e60bff04bb076.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, 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)] |
