diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-05 15:16:55 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-09-17 16:24:33 +1000 |
| commit | bdacdfe95f17188f5b047e0330e3e47f993a2016 (patch) | |
| tree | 51283687db7ad3db2a6add79e1196b83b9aee629 /compiler/rustc_codegen_ssa/src/lib.rs | |
| parent | 04a318787b39732e306faf5ef6dc584990f4f417 (diff) | |
| download | rust-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.rs | 2 |
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, } |
