diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-05-25 14:27:37 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-05-25 14:27:37 +1000 |
| commit | 86754cd8f280657d75b7dbae1845fa2c45ad28a9 (patch) | |
| tree | ecf983771f765be6cabd5e9207ee14ea5f7210de /compiler/rustc_monomorphize/src/partitioning/mod.rs | |
| parent | 59c5259bc92542f76db04cfc96bdb92c4b15401a (diff) | |
| download | rust-86754cd8f280657d75b7dbae1845fa2c45ad28a9.tar.gz rust-86754cd8f280657d75b7dbae1845fa2c45ad28a9.zip | |
Remove some unnecessary `pub` markers.
Diffstat (limited to 'compiler/rustc_monomorphize/src/partitioning/mod.rs')
| -rw-r--r-- | compiler/rustc_monomorphize/src/partitioning/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_monomorphize/src/partitioning/mod.rs b/compiler/rustc_monomorphize/src/partitioning/mod.rs index 25c10df18a1..ac161bc82d9 100644 --- a/compiler/rustc_monomorphize/src/partitioning/mod.rs +++ b/compiler/rustc_monomorphize/src/partitioning/mod.rs @@ -182,7 +182,7 @@ impl<'tcx> Partition<'tcx> for Partitioner { } } -pub struct PartitioningCx<'a, 'tcx> { +struct PartitioningCx<'a, 'tcx> { tcx: TyCtxt<'tcx>, target_cgu_count: usize, inlining_map: &'a InliningMap<'tcx>, @@ -231,7 +231,7 @@ fn get_partitioner(tcx: TyCtxt<'_>) -> Partitioner { } } -pub fn partition<'tcx, I>( +fn partition<'tcx, I>( tcx: TyCtxt<'tcx>, mono_items: &mut I, max_cgu_count: usize, |
