diff options
| author | bors <bors@rust-lang.org> | 2024-02-08 05:21:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-08 05:21:54 +0000 |
| commit | a5077d998934d0bb04bda2be1d0afe24b3170b16 (patch) | |
| tree | 7d8b749d743f70a634b9d0858d733b792a41d6f9 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 35551d059c17ed89aefdd0d3b4194f61fa5e312f (diff) | |
| parent | 964a576dc026f4805df652776abf8a22664815be (diff) | |
| download | rust-a5077d998934d0bb04bda2be1d0afe24b3170b16.tar.gz rust-a5077d998934d0bb04bda2be1d0afe24b3170b16.zip | |
Auto merge of #3292 - rust-lang:rustup-2024-02-08, r=saethlin
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index e839d278bea..587c5e9e8d2 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -253,3 +253,9 @@ pub struct MismatchedDataLayout<'a> { pub llvm_target: &'a str, pub llvm_layout: &'a str, } + +#[derive(Diagnostic)] +#[diag(codegen_llvm_invalid_target_feature_prefix)] +pub(crate) struct InvalidTargetFeaturePrefix<'a> { + pub feature: &'a str, +} |
