Skip to content

Commit 1d8df21

Browse files
committed
Reduce visibility.
1 parent 7104646 commit 1d8df21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir_transform/src/liveness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ struct Access {
4444
}
4545

4646
#[tracing::instrument(level = "debug", skip(tcx), ret)]
47-
pub fn check_liveness<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> DenseBitSet<FieldIdx> {
47+
pub(crate) fn check_liveness<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> DenseBitSet<FieldIdx> {
4848
// Don't run on synthetic MIR, as that will ICE trying to access HIR.
4949
if tcx.is_synthetic_mir(def_id) {
5050
return DenseBitSet::new_empty(0);

0 commit comments

Comments
 (0)