diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-07 19:57:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-07 19:57:45 +0100 |
| commit | c21a640c5a31d64a276cbb76e9e358623ec0ad17 (patch) | |
| tree | 85da5a3b9a5b48f906bf78c4bd40f7a40072f4ff /compiler/rustc_codegen_gcc/src/errors.rs | |
| parent | 63635880f6fe27fc291c7542bc7df03018f694bb (diff) | |
| parent | 2c0c25dcc1598cd115838e1e1d74d9f32ffd8dbf (diff) | |
| download | rust-c21a640c5a31d64a276cbb76e9e358623ec0ad17.tar.gz rust-c21a640c5a31d64a276cbb76e9e358623ec0ad17.zip | |
Rollup merge of #108783 - antoyo:sync-cg_gcc-2023-03-04, r=cjgillot
Sync rustc_codegen_gcc 2023/03/04 Hi. This sync all the changes from rustc_codegen_gcc. Thanks for the review.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/errors.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/src/errors.rs b/compiler/rustc_codegen_gcc/src/errors.rs index d0ba7e24791..9305bd1e043 100644 --- a/compiler/rustc_codegen_gcc/src/errors.rs +++ b/compiler/rustc_codegen_gcc/src/errors.rs @@ -221,3 +221,18 @@ pub(crate) struct UnwindingInlineAsm { #[primary_span] pub span: Span, } + +#[derive(Diagnostic)] +#[diag(codegen_gcc_invalid_minimum_alignment)] +pub(crate) struct InvalidMinimumAlignment { + pub err: String, +} + +#[derive(Diagnostic)] +#[diag(codegen_gcc_tied_target_features)] +#[help] +pub(crate) struct TiedTargetFeatures { + #[primary_span] + pub span: Span, + pub features: String, +} |
