Remove crate visibility usage in compiler

This commit is contained in:
Jacob Pratt
2022-05-20 19:51:09 -04:00
parent 536020c5f9
commit 49c82f31a8
186 changed files with 865 additions and 800 deletions

View File

@@ -414,7 +414,7 @@ impl<'tcx> GlobalAlloc<'tcx> {
}
}
crate struct AllocMap<'tcx> {
pub(crate) struct AllocMap<'tcx> {
/// Maps `AllocId`s to their corresponding allocations.
alloc_map: FxHashMap<AllocId, GlobalAlloc<'tcx>>,
@@ -430,7 +430,7 @@ crate struct AllocMap<'tcx> {
}
impl<'tcx> AllocMap<'tcx> {
crate fn new() -> Self {
pub(crate) fn new() -> Self {
AllocMap {
alloc_map: Default::default(),
dedup: Default::default(),