about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-08-28 05:47:59 +0000
committerbors <bors@rust-lang.org>2024-08-28 05:47:59 +0000
commit3a655aa4cbdea7f19b888db5d3b45c49720984b4 (patch)
treefcd6a49c72ffdeee7275d9b8259ee7441ef69104 /compiler/rustc_codegen_llvm/src/errors.rs
parent2d69baa6e361c2ac76ae6c013b0ab126fa25d8b3 (diff)
parentf4f3447c5748c4699ef4bfe6c09efab4997aff94 (diff)
downloadrust-3a655aa4cbdea7f19b888db5d3b45c49720984b4.tar.gz
rust-3a655aa4cbdea7f19b888db5d3b45c49720984b4.zip
Auto merge of #3850 - rust-lang:rustup-2024-08-28, r=RalfJung
Automatic Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_llvm/src/errors.rs b/compiler/rustc_codegen_llvm/src/errors.rs
index e0ec9cdca56..bb481d2a308 100644
--- a/compiler/rustc_codegen_llvm/src/errors.rs
+++ b/compiler/rustc_codegen_llvm/src/errors.rs
@@ -207,13 +207,13 @@ pub(crate) struct CopyBitcode {
 
 #[derive(Diagnostic)]
 #[diag(codegen_llvm_unknown_debuginfo_compression)]
-pub struct UnknownCompression {
+pub(crate) struct UnknownCompression {
     pub algorithm: &'static str,
 }
 
 #[derive(Diagnostic)]
 #[diag(codegen_llvm_mismatch_data_layout)]
-pub struct MismatchedDataLayout<'a> {
+pub(crate) struct MismatchedDataLayout<'a> {
     pub rustc_target: &'a str,
     pub rustc_layout: &'a str,
     pub llvm_target: &'a str,