@@ -731,19 +731,19 @@ pub fn ensure_sufficient_stack<R>(f: impl FnOnce() -> R) -> R {
731731/// Context that provides information local to a place under investigation. 
732732#[ derive( derivative:: Derivative ) ]  
733733#[ derivative( Debug ( bound = "" ) ,  Clone ( bound = "" ) ,  Copy ( bound = "" ) ) ]  
734- pub ( crate )  struct  PlaceCtxt < ' a ,  ' p ,   Cx :  TypeCx >  { 
734+ pub ( crate )  struct  PlaceCtxt < ' a ,  Cx :  TypeCx >  { 
735735    #[ derivative( Debug  = "ignore" ) ]  
736-     pub ( crate )  mcx :  MatchCtxt < ' a ,  ' p ,   Cx > , 
736+     pub ( crate )  mcx :  MatchCtxt < ' a ,  Cx > , 
737737    /// Type of the place under investigation. 
738738pub ( crate )  ty :  Cx :: Ty , 
739739    /// Whether the place is the original scrutinee place, as opposed to a subplace of it. 
740740pub ( crate )  is_scrutinee :  bool , 
741741} 
742742
743- impl < ' a ,  ' p ,   Cx :  TypeCx >  PlaceCtxt < ' a ,   ' p ,  Cx >  { 
743+ impl < ' a ,  Cx :  TypeCx >  PlaceCtxt < ' a ,  Cx >  { 
744744    /// A `PlaceCtxt` when code other than `is_useful` needs one. 
745745#[ cfg_attr( not( feature = "rustc" ) ,  allow( dead_code) ) ]  
746-     pub ( crate )  fn  new_dummy ( mcx :  MatchCtxt < ' a ,  ' p ,   Cx > ,  ty :  Cx :: Ty )  -> Self  { 
746+     pub ( crate )  fn  new_dummy ( mcx :  MatchCtxt < ' a ,  Cx > ,  ty :  Cx :: Ty )  -> Self  { 
747747        PlaceCtxt  {  mcx,  ty,  is_scrutinee :  false  } 
748748    } 
749749
@@ -1056,7 +1056,7 @@ impl<'p, Cx: TypeCx> Matrix<'p, Cx> {
10561056    /// This computes `specialize(ctor, self)`. See top of the file for explanations. 
10571057fn  specialize_constructor ( 
10581058        & self , 
1059-         pcx :  & PlaceCtxt < ' _ ,  ' p ,   Cx > , 
1059+         pcx :  & PlaceCtxt < ' _ ,  Cx > , 
10601060        ctor :  & Constructor < Cx > , 
10611061        ctor_is_relevant :  bool , 
10621062    )  -> Matrix < ' p ,  Cx >  { 
@@ -1215,7 +1215,7 @@ impl<Cx: TypeCx> WitnessStack<Cx> {
12151215/// pats: [(false, "foo"), _, true] 
12161216/// result: [Enum::Variant { a: (false, "foo"), b: _ }, true] 
12171217/// ``` 
1218- fn  apply_constructor ( & mut  self ,  pcx :  & PlaceCtxt < ' _ ,  ' _ ,   Cx > ,  ctor :  & Constructor < Cx > )  { 
1218+ fn  apply_constructor ( & mut  self ,  pcx :  & PlaceCtxt < ' _ ,  Cx > ,  ctor :  & Constructor < Cx > )  { 
12191219        let  len = self . 0 . len ( ) ; 
12201220        let  arity = ctor. arity ( pcx) ; 
12211221        let  fields = self . 0 . drain ( ( len - arity) ..) . rev ( ) . collect ( ) ; 
@@ -1266,7 +1266,7 @@ impl<Cx: TypeCx> WitnessMatrix<Cx> {
12661266    /// Reverses specialization by `ctor`. See the section on `unspecialize` at the top of the file. 
12671267fn  apply_constructor ( 
12681268        & mut  self , 
1269-         pcx :  & PlaceCtxt < ' _ ,  ' _ ,   Cx > , 
1269+         pcx :  & PlaceCtxt < ' _ ,  Cx > , 
12701270        missing_ctors :  & [ Constructor < Cx > ] , 
12711271        ctor :  & Constructor < Cx > , 
12721272        report_individual_missing_ctors :  bool , 
@@ -1333,7 +1333,7 @@ impl<Cx: TypeCx> WitnessMatrix<Cx> {
13331333/// This is all explained at the top of the file. 
13341334#[ instrument( level = "debug" ,  skip( mcx,  is_top_level) ,  ret) ]  
13351335fn  compute_exhaustiveness_and_usefulness < ' a ,  ' p ,  Cx :  TypeCx > ( 
1336-     mcx :  MatchCtxt < ' a ,  ' p ,   Cx > , 
1336+     mcx :  MatchCtxt < ' a ,  Cx > , 
13371337    matrix :  & mut  Matrix < ' p ,  Cx > , 
13381338    is_top_level :  bool , 
13391339)  -> Result < WitnessMatrix < Cx > ,  Cx :: Error >  { 
@@ -1465,7 +1465,7 @@ pub struct UsefulnessReport<'p, Cx: TypeCx> {
14651465/// Computes whether a match is exhaustive and which of its arms are useful. 
14661466#[ instrument( skip( cx,  arms) ,  level = "debug" ) ]  
14671467pub  fn  compute_match_usefulness < ' p ,  Cx :  TypeCx > ( 
1468-     cx :  MatchCtxt < ' _ ,  ' p ,   Cx > , 
1468+     cx :  MatchCtxt < ' _ ,  Cx > , 
14691469    arms :  & [ MatchArm < ' p ,  Cx > ] , 
14701470    scrut_ty :  Cx :: Ty , 
14711471    scrut_validity :  ValidityConstraint , 
0 commit comments