@@ -983,7 +983,7 @@ enum MissingCtors<'tcx> {
983
983
// (The split logic gives a performance win, because we always need to know if
984
984
// the set is empty, but we rarely need the full set, and it can be expensive
985
985
// to compute the full set.)
986
- fn compute_missing_ctors < ' a , ' tcx > (
986
+ fn compute_missing_ctors < ' tcx > (
987
987
info : MissingCtorsInfo ,
988
988
tcx : TyCtxt < ' tcx > ,
989
989
all_ctors : & Vec < Constructor < ' tcx > > ,
@@ -1518,7 +1518,7 @@ fn should_treat_range_exhaustively(tcx: TyCtxt<'tcx>, ctor: &Constructor<'tcx>)
1518
1518
/// boundaries for each interval range, sort them, then create constructors for each new interval
1519
1519
/// between every pair of boundary points. (This essentially sums up to performing the intuitive
1520
1520
/// merging operation depicted above.)
1521
- fn split_grouped_constructors < ' p , ' a , ' tcx > (
1521
+ fn split_grouped_constructors < ' p , ' tcx > (
1522
1522
tcx : TyCtxt < ' tcx > ,
1523
1523
ctors : Vec < Constructor < ' tcx > > ,
1524
1524
& Matrix ( ref m) : & Matrix < ' p , ' tcx > ,
@@ -1596,7 +1596,7 @@ fn split_grouped_constructors<'p, 'a, 'tcx>(
1596
1596
}
1597
1597
1598
1598
/// Checks whether there exists any shared value in either `ctor` or `pat` by intersecting them.
1599
- fn constructor_intersects_pattern < ' p , ' a , ' tcx > (
1599
+ fn constructor_intersects_pattern < ' p , ' tcx > (
1600
1600
tcx : TyCtxt < ' tcx > ,
1601
1601
ctor : & Constructor < ' tcx > ,
1602
1602
pat : & ' p Pattern < ' tcx > ,
@@ -1686,7 +1686,7 @@ fn constructor_covered_by_range<'tcx>(
1686
1686
}
1687
1687
}
1688
1688
1689
- fn patterns_for_variant < ' p , ' a , ' tcx > (
1689
+ fn patterns_for_variant < ' p , ' tcx > (
1690
1690
subpatterns : & ' p [ FieldPattern < ' tcx > ] ,
1691
1691
wild_patterns : & [ & ' p Pattern < ' tcx > ] )
1692
1692
-> SmallVec < [ & ' p Pattern < ' tcx > ; 2 ] >
0 commit comments