diff options
| author | bors <bors@rust-lang.org> | 2022-12-07 10:24:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-07 10:24:59 +0000 |
| commit | 91b8f34ac2272e3c94a97bebc033abe8e2f17101 (patch) | |
| tree | 4c3707513fc8c10ed0e6da178cd9be923f4a24df /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | ec28f5338b8e54fa8ae3c18bf101c809c337f1f5 (diff) | |
| parent | b4278b02a7e6ad814c09bbc6c066c1713171fe82 (diff) | |
| download | rust-91b8f34ac2272e3c94a97bebc033abe8e2f17101.tar.gz rust-91b8f34ac2272e3c94a97bebc033abe8e2f17101.zip | |
Auto merge of #104799 - pcc:linkage-fn, r=tmiasko
Support Option and similar enums as type of static variable with linkage attribute Compiler MCP: rust-lang/compiler-team#565
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/errors.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs index fddfbb23c67..af9f31fc324 100644 --- a/compiler/rustc_codegen_llvm/src/errors.rs +++ b/compiler/rustc_codegen_llvm/src/errors.rs @@ -62,13 +62,6 @@ pub(crate) struct InvalidMinimumAlignment { } #[derive(Diagnostic)] -#[diag(codegen_llvm_linkage_const_or_mut_type)] -pub(crate) struct LinkageConstOrMutType { - #[primary_span] - pub span: Span, -} - -#[derive(Diagnostic)] #[diag(codegen_llvm_sanitizer_memtag_requires_mte)] pub(crate) struct SanitizerMemtagRequiresMte; |
