Skip to content

Commit edef792

Browse files
committed
Reduce some visibilities.
1 parent 08d769b commit edef792

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: compiler/rustc_mir_transform/src/dataflow_const_prop.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -753,16 +753,16 @@ impl<'tcx> DebugWithContext<ConstAnalysis<'_, 'tcx>> for State<FlatSet<Scalar>>
753753
}
754754
}
755755

756-
pub(crate) struct Patch<'tcx> {
756+
struct Patch<'tcx> {
757757
tcx: TyCtxt<'tcx>,
758758

759759
/// For a given MIR location, this stores the values of the operands used by that location. In
760760
/// particular, this is before the effect, such that the operands of `_1 = _1 + _2` are
761761
/// properly captured. (This may become UB soon, but it is currently emitted even by safe code.)
762-
pub(crate) before_effect: FxHashMap<(Location, Place<'tcx>), Const<'tcx>>,
762+
before_effect: FxHashMap<(Location, Place<'tcx>), Const<'tcx>>,
763763

764764
/// Stores the assigned values for assignments where the Rvalue is constant.
765-
pub(crate) assignments: FxHashMap<Location, Const<'tcx>>,
765+
assignments: FxHashMap<Location, Const<'tcx>>,
766766
}
767767

768768
impl<'tcx> Patch<'tcx> {

0 commit comments

Comments
 (0)