@@ -20,7 +20,7 @@ use crate::constraints::{ConstraintSccIndex, OutlivesConstraintSet};
2020use crate :: consumers:: OutlivesConstraint ;
2121use crate :: diagnostics:: { RegionErrorKind , RegionErrors , UniverseInfo } ;
2222use crate :: member_constraints:: MemberConstraintSet ;
23- use crate :: region_infer:: values:: { LivenessValues , PlaceholderIndices } ;
23+ use crate :: region_infer:: values:: LivenessValues ;
2424use crate :: region_infer:: { ConstraintSccs , RegionDefinition , Representative , TypeTest } ;
2525use crate :: ty:: VarianceDiagInfo ;
2626use crate :: type_check:: free_region_relations:: UniversalRegionRelations ;
@@ -39,7 +39,6 @@ pub(crate) struct LoweredConstraints<'tcx> {
3939 pub ( crate ) type_tests : Vec < TypeTest < ' tcx > > ,
4040 pub ( crate ) liveness_constraints : LivenessValues ,
4141 pub ( crate ) universe_causes : FxIndexMap < UniverseIndex , UniverseInfo < ' tcx > > ,
42- pub ( crate ) placeholder_indices : PlaceholderIndices ,
4342}
4443
4544impl < ' d , ' tcx , A : scc:: Annotation > SccAnnotations < ' d , ' tcx , A > {
@@ -340,7 +339,7 @@ pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>(
340339 let ( definitions, has_placeholders) = region_definitions ( universal_regions, infcx) ;
341340
342341 let MirTypeckRegionConstraints {
343- placeholder_indices,
342+ placeholder_indices : _ ,
344343 placeholder_index_to_region : _,
345344 liveness_constraints,
346345 mut outlives_constraints,
@@ -388,7 +387,6 @@ pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>(
388387 outlives_constraints : Frozen :: freeze ( outlives_constraints) ,
389388 liveness_constraints,
390389 universe_causes,
391- placeholder_indices,
392390 } ;
393391 }
394392 debug ! ( "Placeholders present; activating placeholder handling logic!" ) ;
@@ -431,7 +429,6 @@ pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>(
431429 type_tests,
432430 liveness_constraints,
433431 universe_causes,
434- placeholder_indices,
435432 }
436433}
437434
0 commit comments