@@ -47,16 +47,16 @@ pub struct BorrowPcgEdgeRef<
4747 _marker : PhantomData < & ' tcx ( ) > ,
4848}
4949
50- impl < ' a , ' tcx : ' a , ' graph , Ctxt : HasCompilerCtxt < ' a , ' tcx > , EdgeKind : DisplayWithCtxt < Ctxt > >
51- DisplayWithCtxt < Ctxt > for BorrowPcgEdgeRef < ' tcx , ' graph , EdgeKind >
50+ impl < ' a , ' tcx : ' a , Ctxt : HasCompilerCtxt < ' a , ' tcx > , EdgeKind : DisplayWithCtxt < Ctxt > >
51+ DisplayWithCtxt < Ctxt > for BorrowPcgEdgeRef < ' tcx , ' _ , EdgeKind >
5252{
5353 fn display_output ( & self , ctxt : Ctxt , mode : OutputMode ) -> DisplayOutput {
5454 let kind = self . kind . display_output ( ctxt, mode) ;
5555 self . conditions . conditional_string ( kind, ctxt)
5656 }
5757}
5858
59- impl < ' tcx , ' graph , EdgeKind , VC > BorrowPcgEdgeRef < ' tcx , ' graph , EdgeKind , VC > {
59+ impl < ' graph , EdgeKind , VC > BorrowPcgEdgeRef < ' _ , ' graph , EdgeKind , VC > {
6060 pub ( crate ) fn new ( kind : & ' graph EdgeKind , conditions : & ' graph VC ) -> Self {
6161 Self {
6262 kind,
@@ -66,15 +66,15 @@ impl<'tcx, 'graph, EdgeKind, VC> BorrowPcgEdgeRef<'tcx, 'graph, EdgeKind, VC> {
6666 }
6767}
6868
69- impl < ' tcx , ' graph , EdgeKind , VC > BorrowPcgEdgeRef < ' tcx , ' graph , EdgeKind , VC > {
69+ impl < EdgeKind , VC > BorrowPcgEdgeRef < ' _ , ' _ , EdgeKind , VC > {
7070 pub fn kind ( & self ) -> & EdgeKind {
7171 self . kind
7272 }
7373}
7474
75- impl < ' tcx , ' graph , EdgeKind > Copy for BorrowPcgEdgeRef < ' tcx , ' graph , EdgeKind > { }
75+ impl < EdgeKind > Copy for BorrowPcgEdgeRef < ' _ , ' _ , EdgeKind > { }
7676
77- impl < ' tcx , ' graph , EdgeKind > Clone for BorrowPcgEdgeRef < ' tcx , ' graph , EdgeKind > {
77+ impl < EdgeKind > Clone for BorrowPcgEdgeRef < ' _ , ' _ , EdgeKind > {
7878 fn clone ( & self ) -> Self {
7979 * self
8080 }
@@ -287,7 +287,7 @@ impl<'tcx> From<LifetimeProjection<'tcx, Place<'tcx>>> for LocalNode<'tcx> {
287287/// by definition)
288288pub type BlockingNode < ' tcx > = LocalNode < ' tcx > ;
289289
290- impl < ' a , ' tcx > HasValidityCheck < CompilerCtxt < ' a , ' tcx > > for MaybeRemotePlace < ' tcx > {
290+ impl < ' tcx > HasValidityCheck < CompilerCtxt < ' _ , ' tcx > > for MaybeRemotePlace < ' tcx > {
291291 fn check_validity ( & self , _ctxt : CompilerCtxt < ' _ , ' tcx > ) -> Result < ( ) , String > {
292292 Ok ( ( ) )
293293 }
@@ -302,7 +302,7 @@ impl<T: std::fmt::Display> std::fmt::Display for PcgNode<'_, T> {
302302 }
303303}
304304
305- impl < ' tcx , P : PcgNodeComponent > LocalNode < ' tcx , P > {
305+ impl < P : PcgNodeComponent > LocalNode < ' _ , P > {
306306 pub fn as_current_place ( self ) -> Option < P > {
307307 match self {
308308 LocalNode :: Place ( MaybeLabelledPlace :: Current ( place) ) => Some ( place) ,
@@ -339,7 +339,7 @@ impl<'tcx, P: Copy> PcgNodeWithPlace<'tcx, P> {
339339 }
340340}
341341
342- impl < ' tcx , T : Copy , U > PcgNode < ' tcx , T , U > {
342+ impl < T : Copy , U > PcgNode < ' _ , T , U > {
343343 pub ( crate ) fn as_place ( & self ) -> Option < T > {
344344 match self {
345345 PcgNode :: Place ( p) => Some ( * p) ,
0 commit comments