about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/lib.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-09-05 15:16:55 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-09-17 16:24:33 +1000
commitbdacdfe95f17188f5b047e0330e3e47f993a2016 (patch)
tree51283687db7ad3db2a6add79e1196b83b9aee629 /compiler/rustc_codegen_ssa/src/lib.rs
parent04a318787b39732e306faf5ef6dc584990f4f417 (diff)
downloadrust-bdacdfe95f17188f5b047e0330e3e47f993a2016.tar.gz
rust-bdacdfe95f17188f5b047e0330e3e47f993a2016.zip
Minimize visibilities.
This makes it much clearer which things are used outside the crate.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/lib.rs')
-rw-r--r--compiler/rustc_codegen_ssa/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/lib.rs b/compiler/rustc_codegen_ssa/src/lib.rs
index c89bfca6687..f6570532b97 100644
--- a/compiler/rustc_codegen_ssa/src/lib.rs
+++ b/compiler/rustc_codegen_ssa/src/lib.rs
@@ -128,7 +128,7 @@ impl CompiledModule {
     }
 }
 
-pub struct CachedModuleCodegen {
+pub(crate) struct CachedModuleCodegen {
     pub name: String,
     pub source: WorkProduct,
 }