@@ -20,7 +20,7 @@ use crate::constraints::{ConstraintSccIndex, OutlivesConstraintSet};
20
20
use crate :: consumers:: OutlivesConstraint ;
21
21
use crate :: diagnostics:: { RegionErrorKind , RegionErrors , UniverseInfo } ;
22
22
use crate :: member_constraints:: MemberConstraintSet ;
23
- use crate :: region_infer:: values:: { LivenessValues , PlaceholderIndices } ;
23
+ use crate :: region_infer:: values:: LivenessValues ;
24
24
use crate :: region_infer:: { ConstraintSccs , RegionDefinition , Representative , TypeTest } ;
25
25
use crate :: ty:: VarianceDiagInfo ;
26
26
use crate :: type_check:: free_region_relations:: UniversalRegionRelations ;
@@ -39,7 +39,6 @@ pub(crate) struct LoweredConstraints<'tcx> {
39
39
pub ( crate ) type_tests : Vec < TypeTest < ' tcx > > ,
40
40
pub ( crate ) liveness_constraints : LivenessValues ,
41
41
pub ( crate ) universe_causes : FxIndexMap < UniverseIndex , UniverseInfo < ' tcx > > ,
42
- pub ( crate ) placeholder_indices : PlaceholderIndices ,
43
42
}
44
43
45
44
impl < ' d , ' tcx , A : scc:: Annotation > SccAnnotations < ' d , ' tcx , A > {
@@ -340,7 +339,7 @@ pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>(
340
339
let ( definitions, has_placeholders) = region_definitions ( universal_regions, infcx) ;
341
340
342
341
let MirTypeckRegionConstraints {
343
- placeholder_indices,
342
+ placeholder_indices : _ ,
344
343
placeholder_index_to_region : _,
345
344
liveness_constraints,
346
345
mut outlives_constraints,
@@ -388,7 +387,6 @@ pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>(
388
387
outlives_constraints : Frozen :: freeze ( outlives_constraints) ,
389
388
liveness_constraints,
390
389
universe_causes,
391
- placeholder_indices,
392
390
} ;
393
391
}
394
392
debug ! ( "Placeholders present; activating placeholder handling logic!" ) ;
@@ -431,7 +429,6 @@ pub(crate) fn compute_sccs_applying_placeholder_outlives_constraints<'tcx>(
431
429
type_tests,
432
430
liveness_constraints,
433
431
universe_causes,
434
- placeholder_indices,
435
432
}
436
433
}
437
434
0 commit comments