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/debuginfo/mod.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/debuginfo/mod.rs')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/debuginfo/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/mod.rs b/compiler/rustc_codegen_ssa/src/debuginfo/mod.rs index 0918660e6be..0867c43eb7f 100644 --- a/compiler/rustc_codegen_ssa/src/debuginfo/mod.rs +++ b/compiler/rustc_codegen_ssa/src/debuginfo/mod.rs @@ -54,7 +54,7 @@ pub fn tag_base_type<'tcx>(tcx: TyCtxt<'tcx>, enum_type_and_layout: TyAndLayout< }) } -pub fn tag_base_type_opt<'tcx>( +fn tag_base_type_opt<'tcx>( tcx: TyCtxt<'tcx>, enum_type_and_layout: TyAndLayout<'tcx>, ) -> Option<Ty<'tcx>> { |
