We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7104646 commit 1d8df21Copy full SHA for 1d8df21
compiler/rustc_mir_transform/src/liveness.rs
@@ -44,7 +44,7 @@ struct Access {
44
}
45
46
#[tracing::instrument(level = "debug", skip(tcx), ret)]
47
-pub fn check_liveness<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> DenseBitSet<FieldIdx> {
+pub(crate) fn check_liveness<'tcx>(tcx: TyCtxt<'tcx>, def_id: LocalDefId) -> DenseBitSet<FieldIdx> {
48
// Don't run on synthetic MIR, as that will ICE trying to access HIR.
49
if tcx.is_synthetic_mir(def_id) {
50
return DenseBitSet::new_empty(0);
0 commit comments