Skip to content

Commit aff8ef3

Browse files
committed
remove now-unused access to outlives constraints
1 parent b653ffb commit aff8ef3

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_borrowck/src/region_infer

1 file changed

+2
-2
lines changed

compiler/rustc_borrowck/src/region_infer/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ pub struct RegionInferenceContext<'tcx> {
6161
pub(crate) liveness_constraints: LivenessValues<RegionVid>,
6262

6363
/// The outlives constraints computed by the type-check.
64-
pub(crate) constraints: Frozen<OutlivesConstraintSet<'tcx>>,
64+
constraints: Frozen<OutlivesConstraintSet<'tcx>>,
6565

6666
/// The constraint-set, but in graph form, making it easy to traverse
6767
/// the constraints adjacent to a particular region. Used to construct
6868
/// the SCC (see `constraint_sccs`) and for error reporting.
69-
pub(crate) constraint_graph: Frozen<NormalConstraintGraph>,
69+
constraint_graph: Frozen<NormalConstraintGraph>,
7070

7171
/// The SCC computed from `constraints` and the constraint
7272
/// graph. We have an edge from SCC A to SCC B if `A: B`. Used to

0 commit comments

Comments
 (0)