@@ -783,7 +783,7 @@ pub struct BoundVarReplacer<'me, 'tcx> {
783
783
// the `var` (but we *could* bring that into scope if we were to track them as we pass them).
784
784
mapped_regions : BTreeMap < ty:: PlaceholderRegion , ty:: BoundRegion > ,
785
785
mapped_types : BTreeMap < ty:: PlaceholderType , ty:: BoundTy > ,
786
- mapped_consts : BTreeMap < ty:: PlaceholderConst < ' tcx > , ty:: BoundVar > ,
786
+ mapped_consts : BTreeMap < ty:: PlaceholderConst , ty:: BoundVar > ,
787
787
// The current depth relative to *this* folding, *not* the entire normalization. In other words,
788
788
// the depth of binders we've passed here.
789
789
current_index : ty:: DebruijnIndex ,
@@ -843,11 +843,11 @@ impl<'me, 'tcx> BoundVarReplacer<'me, 'tcx> {
843
843
T ,
844
844
BTreeMap < ty:: PlaceholderRegion , ty:: BoundRegion > ,
845
845
BTreeMap < ty:: PlaceholderType , ty:: BoundTy > ,
846
- BTreeMap < ty:: PlaceholderConst < ' tcx > , ty:: BoundVar > ,
846
+ BTreeMap < ty:: PlaceholderConst , ty:: BoundVar > ,
847
847
) {
848
848
let mapped_regions: BTreeMap < ty:: PlaceholderRegion , ty:: BoundRegion > = BTreeMap :: new ( ) ;
849
849
let mapped_types: BTreeMap < ty:: PlaceholderType , ty:: BoundTy > = BTreeMap :: new ( ) ;
850
- let mapped_consts: BTreeMap < ty:: PlaceholderConst < ' tcx > , ty:: BoundVar > = BTreeMap :: new ( ) ;
850
+ let mapped_consts: BTreeMap < ty:: PlaceholderConst , ty:: BoundVar > = BTreeMap :: new ( ) ;
851
851
852
852
let mut replacer = BoundVarReplacer {
853
853
infcx,
@@ -966,7 +966,7 @@ pub struct PlaceholderReplacer<'me, 'tcx> {
966
966
infcx : & ' me InferCtxt < ' tcx > ,
967
967
mapped_regions : BTreeMap < ty:: PlaceholderRegion , ty:: BoundRegion > ,
968
968
mapped_types : BTreeMap < ty:: PlaceholderType , ty:: BoundTy > ,
969
- mapped_consts : BTreeMap < ty:: PlaceholderConst < ' tcx > , ty:: BoundVar > ,
969
+ mapped_consts : BTreeMap < ty:: PlaceholderConst , ty:: BoundVar > ,
970
970
universe_indices : & ' me [ Option < ty:: UniverseIndex > ] ,
971
971
current_index : ty:: DebruijnIndex ,
972
972
}
@@ -976,7 +976,7 @@ impl<'me, 'tcx> PlaceholderReplacer<'me, 'tcx> {
976
976
infcx : & ' me InferCtxt < ' tcx > ,
977
977
mapped_regions : BTreeMap < ty:: PlaceholderRegion , ty:: BoundRegion > ,
978
978
mapped_types : BTreeMap < ty:: PlaceholderType , ty:: BoundTy > ,
979
- mapped_consts : BTreeMap < ty:: PlaceholderConst < ' tcx > , ty:: BoundVar > ,
979
+ mapped_consts : BTreeMap < ty:: PlaceholderConst , ty:: BoundVar > ,
980
980
universe_indices : & ' me [ Option < ty:: UniverseIndex > ] ,
981
981
value : T ,
982
982
) -> T {
0 commit comments