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>(
339
339
let ( definitions, has_placeholders) = region_definitions ( universal_regions, infcx) ;
340
340
341
341
let MirTypeckRegionConstraints {
342
- placeholder_indices : _,
343
- placeholder_index_to_region : _,
344
342
liveness_constraints,
345
343
mut outlives_constraints,
346
344
mut member_constraints,
347
345
universe_causes,
348
346
type_tests,
347
+ ..
349
348
} = constraints;
350
349
351
350
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> {
238
238
pub ( crate ) struct MirTypeckRegionConstraints < ' tcx > {
239
239
/// Maps from a `ty::Placeholder` to the corresponding
240
240
/// `PlaceholderIndex` bit that we will use for it.
241
- pub placeholder_indices : PlaceholderIndices ,
241
+ placeholder_indices : PlaceholderIndices ,
242
242
243
243
/// Each time we add a placeholder to `placeholder_indices`, we
244
244
/// also create a corresponding "representative" region vid for
245
245
/// that wraps it. This vector tracks those. This way, when we
246
246
/// convert the same `ty::RePlaceholder(p)` twice, we can map to
247
247
/// 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 > > ,
249
249
250
250
/// In general, the type-checker is not responsible for enforcing
251
251
/// liveness constraints; this job falls to the region inferencer,
You can’t perform that action at this time.
0 commit comments