Skip to content

Commit c4c2d2c

Browse files
committed
Reduce some visibilities.
1 parent 31e102c commit c4c2d2c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/rustc_mir_transform/src/dataflow_const_prop.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,16 +537,16 @@ impl<'a, 'tcx> ConstAnalysis<'a, 'tcx> {
537537
}
538538
}
539539

540-
pub(crate) struct Patch<'tcx> {
540+
struct Patch<'tcx> {
541541
tcx: TyCtxt<'tcx>,
542542

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

548548
/// Stores the assigned values for assignments where the Rvalue is constant.
549-
pub(crate) assignments: FxHashMap<Location, Const<'tcx>>,
549+
assignments: FxHashMap<Location, Const<'tcx>>,
550550
}
551551

552552
impl<'tcx> Patch<'tcx> {

0 commit comments

Comments
 (0)