File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
compiler/rustc_borrowck/src Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -339,13 +339,12 @@ pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>(
339339 let ( definitions, has_placeholders) = region_definitions ( universal_regions, infcx) ;
340340
341341 let MirTypeckRegionConstraints {
342- placeholder_indices : _,
343- placeholder_index_to_region : _,
344342 liveness_constraints,
345343 mut outlives_constraints,
346344 mut member_constraints,
347345 universe_causes,
348346 type_tests,
347+ ..
349348 } = constraints;
350349
351350 if let Some ( guar) = universal_regions. tainted_by_errors ( ) {
Original file line number Diff line number Diff line change @@ -238,14 +238,14 @@ pub(crate) struct MirTypeckResults<'tcx> {
238238pub ( crate ) struct MirTypeckRegionConstraints < ' tcx > {
239239 /// Maps from a `ty::Placeholder` to the corresponding
240240 /// `PlaceholderIndex` bit that we will use for it.
241- pub placeholder_indices : PlaceholderIndices ,
241+ placeholder_indices : PlaceholderIndices ,
242242
243243 /// Each time we add a placeholder to `placeholder_indices`, we
244244 /// also create a corresponding "representative" region vid for
245245 /// that wraps it. This vector tracks those. This way, when we
246246 /// convert the same `ty::RePlaceholder(p)` twice, we can map to
247247 /// the same underlying `RegionVid`.
248- pub placeholder_index_to_region : IndexVec < PlaceholderIndex , ty:: Region < ' tcx > > ,
248+ placeholder_index_to_region : IndexVec < PlaceholderIndex , ty:: Region < ' tcx > > ,
249249
250250 /// In general, the type-checker is not responsible for enforcing
251251 /// liveness constraints; this job falls to the region inferencer,
You can’t perform that action at this time.
0 commit comments