Skip to content

Commit dbe7f3e

Browse files
committed
Remove not needed pub visibility
1 parent 421e420 commit dbe7f3e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • compiler/rustc_ast_lowering/src

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ fn compute_hir_hash(
529529
})
530530
}
531531

532-
pub fn lower_to_hir(tcx: TyCtxt<'_>, (): ()) -> mid_hir::Crate<'_> {
532+
fn lower_to_hir(tcx: TyCtxt<'_>, (): ()) -> mid_hir::Crate<'_> {
533533
// Queries that borrow `resolver_for_lowering`.
534534
tcx.ensure_done().output_filenames(());
535535
tcx.ensure_done().early_lint_checks(());
@@ -569,7 +569,7 @@ pub fn lower_to_hir(tcx: TyCtxt<'_>, (): ()) -> mid_hir::Crate<'_> {
569569
}
570570

571571
/// Lowers an AST owner corresponding to `def_id`, now only delegations are lowered this way.
572-
pub fn lower_delayed_owner(tcx: TyCtxt<'_>, def_id: LocalDefId) {
572+
fn lower_delayed_owner(tcx: TyCtxt<'_>, def_id: LocalDefId) {
573573
let krate = tcx.hir_crate(());
574574

575575
let (resolver, krate) = &*krate.delayed_resolver.borrow();

0 commit comments

Comments
 (0)